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.007593/0.007593, allocations: 96.39 kB / 15.73 MB, free: 6 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.001388/0.001388, allocations: 189 kB / 16.67 MB, free: 5.93 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.593/2.593, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 61.75 kB / 0.9509 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3659, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002078/0.3681, allocations: 0.7087 MB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.3691, allocations: 0.7965 MB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.3691, allocations: 3.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.3692, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.952e-05/0.3693, allocations: 15.86 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.722e-05/0.3693, allocations: 11.98 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.685e-05/0.3694, allocations: 39.86 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3696, allocations: 15.98 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.368e-05/0.3697, allocations: 19.98 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.032e-05/0.3697, allocations: 19.86 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.3697, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.3697, allocations: 4 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.3698, allocations: 7.984 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.3698, allocations: 15.94 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.3699, allocations: 47.73 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3699, allocations: 4 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3699, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.37, allocations: 0 / 1.09 GB, free: 15.73 MB / 0.8575 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.0005607/0.3705, allocations: 359.4 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3706, allocations: 12.03 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.3706, allocations: 4.891 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3708, allocations: 172.3 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3708, allocations: 384 / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.3708, allocations: 12.38 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.371, allocations: 66.2 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3711, allocations: 192 / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3711, allocations: 7.938 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3711, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.3714, allocations: 67.92 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.3718, allocations: 264.9 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.372, allocations: 58.47 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.3721, allocations: 40.91 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.3722, allocations: 4 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3722, allocations: 34.56 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3722, allocations: 0 / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005317/0.3727, allocations: 129.5 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.3728, allocations: 55.41 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.013e-05/0.3729, allocations: 113.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3729, allocations: 25.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.3729, allocations: 88.12 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.373, allocations: 11.89 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.373, allocations: 13.72 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3731, allocations: 314.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/0.3733, allocations: 35.95 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.3734, allocations: 35.91 kB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.3737, allocations: 65.06 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3737, allocations: 3.938 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003068/0.374, allocations: 109.5 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.374, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.374, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.374, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3742, allocations: 15.97 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3742, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.3743, allocations: 15.98 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3743, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 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.971e-05/0.3744, allocations: 117.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3744, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.3744, allocations: 7.906 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3744, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3744, allocations: 3.984 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3744, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.3746, allocations: 173.6 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3746, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.709e-05/0.3747, allocations: 15.98 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3747, allocations: 3.938 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3747, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3747, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3747, allocations: 3.984 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.3751, allocations: 199.4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.3751, allocations: 81.11 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3752, allocations: 0 / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3753, allocations: 7.984 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.3753, allocations: 11.98 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3753, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.3754, allocations: 91.27 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3754, allocations: 4 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002091/0.3756, allocations: 7.938 kB / 1.092 GB, free: 12.59 MB / 0.8575 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.0001403/0.3758, allocations: 99.78 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.3761, allocations: 71.86 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3761, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.3763, allocations: 39.91 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.3765, allocations: 23.86 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.3769, allocations: 121.5 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.3771, allocations: 0.6768 MB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.3772, allocations: 8 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.3772, allocations: 11.44 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3772, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of Templates: time 0.002875/0.3801, allocations: 0.6853 MB / 1.094 GB, free: 10.81 MB / 0.8575 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