Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 104 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 195.5 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.92 kB / 0.8127 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2621, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.001955/0.2641, allocations: 0.7786 MB / 0.9506 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008522/0.265, allocations: 0.7962 MB / 0.9513 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.265, allocations: 0 / 0.9513 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.2651, allocations: 0 / 0.9513 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.259e-05/0.2651, allocations: 7.922 kB / 0.9513 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.853e-05/0.2652, allocations: 15.98 kB / 0.9514 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.904e-05/0.2653, allocations: 39.86 kB / 0.9514 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.2654, allocations: 15.98 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.2655, allocations: 19.92 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.2655, allocations: 19.92 kB / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.2655, allocations: 4 kB / 0.9514 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.2656, allocations: 4 kB / 0.9515 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.2656, allocations: 11.92 kB / 0.9515 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.2656, allocations: 11.94 kB / 0.9515 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.822e-05/0.2657, allocations: 35.92 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2657, allocations: 0 / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2657, allocations: 0 / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2657, allocations: 4 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004968/0.2662, allocations: 359.6 kB / 0.9519 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2663, allocations: 8.031 kB / 0.9519 GB, free: 7.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.2663, allocations: 4.938 kB / 0.9519 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.2664, allocations: 176.2 kB / 0.952 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.2664, allocations: 384 / 0.952 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.2664, allocations: 384 / 0.952 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.2667, allocations: 78.16 kB / 0.9521 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.2667, allocations: 4.125 kB / 0.9521 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2667, allocations: 3.938 kB / 0.9521 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2667, allocations: 0 / 0.9521 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.267, allocations: 67.86 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.2674, allocations: 265 kB / 0.9524 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.2676, allocations: 62.42 kB / 0.9525 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.2677, allocations: 40.91 kB / 0.9525 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2677, allocations: 4 kB / 0.9525 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2678, allocations: 30.56 kB / 0.9526 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.2678, allocations: 0 / 0.9526 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005009/0.2683, allocations: 129.7 kB / 0.9527 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.2683, allocations: 55.41 kB / 0.9527 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.2684, allocations: 113.8 kB / 0.9529 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2684, allocations: 25.7 kB / 0.9529 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.2685, allocations: 80.14 kB / 0.953 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.2685, allocations: 15.84 kB / 0.953 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/0.2685, allocations: 9.719 kB / 0.953 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.2686, allocations: 322.8 kB / 0.9533 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.2688, allocations: 31.97 kB / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.2689, allocations: 35.94 kB / 0.9534 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2692, allocations: 64.8 kB / 0.9534 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2692, allocations: 3.938 kB / 0.9534 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003249/0.2695, allocations: 105.5 kB / 0.9535 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2696, allocations: 4 kB / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2696, allocations: 0 / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2696, allocations: 0 / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.2697, allocations: 19.92 kB / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2697, allocations: 0 / 0.9535 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.889e-05/0.2698, allocations: 15.98 kB / 0.9536 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2698, allocations: 4 kB / 0.9536 GB, free: 5.125 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.554e-05/0.2699, allocations: 121.8 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2699, allocations: 0 / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.27, allocations: 3.906 kB / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.27, allocations: 0 / 0.9537 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.27, allocations: 4 kB / 0.9537 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.27, allocations: 0 / 0.9537 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.2701, allocations: 177.4 kB / 0.9539 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2701, allocations: 4 kB / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-05/0.2703, allocations: 15.97 kB / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2703, allocations: 0 / 0.9539 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-06/0.2703, allocations: 4 kB / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2703, allocations: 0 / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2703, allocations: 0 / 0.9539 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003419/0.2706, allocations: 199.4 kB / 0.9541 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.2707, allocations: 85.03 kB / 0.9541 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.2707, allocations: 3.938 kB / 0.9541 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2708, allocations: 11.98 kB / 0.9542 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.2709, allocations: 8 kB / 0.9542 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.2709, allocations: 0 / 0.9542 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.2709, allocations: 91.25 kB / 0.9543 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2709, allocations: 0 / 0.9543 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002152/0.2711, allocations: 12 kB / 0.9543 GB, free: 4.301 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001232/0.2713, allocations: 99.25 kB / 0.9544 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.2716, allocations: 63.92 kB / 0.9544 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2716, allocations: 4 kB / 0.9544 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.2718, allocations: 43.89 kB / 0.9545 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.2721, allocations: 12.48 kB / 0.9545 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.2724, allocations: 159.2 kB / 0.9546 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.2726, allocations: 0.6883 MB / 0.9553 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.2726, allocations: 11.44 kB / 0.9553 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.2726, allocations: 0 / 0.9553 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.001923/0.2746, allocations: 0.7449 MB / 0.956 GB, free: 2.422 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches