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.001795/0.001795, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002243/0.002244, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.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.579/2.579, allocations: 390.2 MB / 0.6642 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9753, allocations: 140.4 MB / 0.9489 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.00204/0.9773, allocations: 0.7603 MB / 0.9497 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008339/0.9782, allocations: 0.8008 MB / 0.9505 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.271e-05/0.9783, allocations: 5.375 kB / 0.9505 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.372e-05/0.9783, allocations: 3.984 kB / 0.9505 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.941e-05/0.9784, allocations: 9.297 kB / 0.9505 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.092e-05/0.9785, allocations: 5.375 kB / 0.9505 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.9785, allocations: 40.41 kB / 0.9505 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.9787, allocations: 16.05 kB / 0.9505 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.039e-05/0.9787, allocations: 18.8 kB / 0.9506 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.9788, allocations: 21.41 kB / 0.9506 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.9788, allocations: 6.75 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.9788, allocations: 1.375 kB / 0.9506 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.9789, allocations: 9.312 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.661e-05/0.9789, allocations: 19.98 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.529e-05/0.979, allocations: 34.73 kB / 0.9506 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.979, allocations: 4 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.979, allocations: 0 / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.979, allocations: 0 / 0.9506 GB, free: 7.848 MB / 0.7169 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.0005325/0.9796, allocations: 366 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.9796, allocations: 9.625 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.9797, allocations: 2.312 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.267e-05/0.9798, allocations: 171 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.9798, allocations: 1.75 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.9798, allocations: 1.75 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.98, allocations: 75.62 kB / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.9801, allocations: 192 / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.9801, allocations: 7.938 kB / 0.9513 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.9801, allocations: 5.375 kB / 0.9513 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.9804, allocations: 62.92 kB / 0.9513 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.9807, allocations: 264.6 kB / 0.9516 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.9809, allocations: 67.34 kB / 0.9516 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.9811, allocations: 35.8 kB / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.9811, allocations: 0 / 0.9517 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.9811, allocations: 31.69 kB / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.9812, allocations: 0 / 0.9517 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.00051/0.9817, allocations: 133.8 kB / 0.9518 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.9817, allocations: 52.03 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.979e-05/0.9818, allocations: 111.7 kB / 0.952 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.9818, allocations: 26.98 kB / 0.952 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.9818, allocations: 85.48 kB / 0.9521 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.9819, allocations: 16.97 kB / 0.9521 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.9819, allocations: 12.28 kB / 0.9521 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.982, allocations: 320.2 kB / 0.9524 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.9821, allocations: 30.06 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.9823, allocations: 33.7 kB / 0.9525 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.9825, allocations: 70.22 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9825, allocations: 5.344 kB / 0.9526 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003131/0.9829, allocations: 96.59 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9829, allocations: 9.438 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.9829, allocations: 0 / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.9829, allocations: 0 / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.983, allocations: 18.95 kB / 0.9527 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.9831, allocations: 0 / 0.9527 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.479e-05/0.9831, allocations: 11.7 kB / 0.9527 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.9832, allocations: 0 / 0.9527 GB, free: 5.887 MB / 0.7169 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 6.346e-05/0.9832, allocations: 124.8 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.9833, allocations: 5.875 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.9833, allocations: 5.422 kB / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.9833, allocations: 0 / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9833, allocations: 0 / 0.9528 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.9833, allocations: 5.547 kB / 0.9528 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.9834, allocations: 168.5 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.9835, allocations: 0 / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/0.9836, allocations: 22.53 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9836, allocations: 1.438 kB / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.9836, allocations: 0 / 0.953 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9836, allocations: 4 kB / 0.953 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9836, allocations: 1.219 kB / 0.953 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.9839, allocations: 200 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.772e-05/0.9839, allocations: 86.62 kB / 0.9533 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.984, allocations: 4 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.9841, allocations: 10.58 kB / 0.9533 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.9841, allocations: 6.062 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.9841, allocations: 2 kB / 0.9533 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.91e-05/0.9842, allocations: 88.12 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9842, allocations: 1.344 kB / 0.9534 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002111/0.9844, allocations: 9.219 kB / 0.9534 GB, free: 5.148 MB / 0.7169 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.0001201/0.9845, allocations: 103.1 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003353/0.9848, allocations: 65.52 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9849, allocations: 1.406 kB / 0.9536 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.985, allocations: 39.55 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.9853, allocations: 16.89 kB / 0.9536 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003524/0.9857, allocations: 137.5 kB / 0.9537 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.9859, allocations: 0.6844 MB / 0.9544 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.873e-05/0.9859, allocations: 0.875 kB / 0.9544 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.148e-05/0.9859, allocations: 12.5 kB / 0.9544 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.986, allocations: 0 / 0.9544 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of Templates: time 0.002817/0.9888, allocations: 0.5433 MB / 0.955 GB, free: 3.871 MB / 0.7169 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/jenkins/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