Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001657, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.001881/0.001881, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.425/1.425, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.735/2.735, allocations: 472.7 MB / 0.746 GB, free: 460 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001551, allocations: 75.83 kB / 1.07 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9817/0.9833, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002145/0.9855, allocations: 0.7045 MB / 1.227 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.9865, allocations: 0.804 MB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.9866, allocations: 0 / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.9867, allocations: 3.938 kB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.276e-05/0.9868, allocations: 7.938 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001078/0.9869, allocations: 11.97 kB / 1.228 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.717e-05/0.987, allocations: 51.78 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.9871, allocations: 19.98 kB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.177e-05/0.9872, allocations: 8 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.873e-05/0.9873, allocations: 19.91 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.9873, allocations: 4 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.9873, allocations: 7.938 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.9874, allocations: 8 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.9874, allocations: 15.92 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.9875, allocations: 43.8 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9876, allocations: 4 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9876, allocations: 4 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.9876, allocations: 0 / 1.228 GB, free: 11.75 MB / 0.9512 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.0005633/0.9881, allocations: 363.8 kB / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9882, allocations: 15.95 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.9882, allocations: 8.891 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.9884, allocations: 168.3 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.9884, allocations: 384 / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.9884, allocations: 4.375 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/0.9887, allocations: 70.22 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.9887, allocations: 192 / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.9887, allocations: 3.938 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.9888, allocations: 4 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.989, allocations: 63.92 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003969/0.9894, allocations: 272.9 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.9897, allocations: 58.41 kB / 1.229 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.9898, allocations: 36.92 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.9899, allocations: 4 kB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.9899, allocations: 34.56 kB / 1.229 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.9899, allocations: 0 / 1.229 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005321/0.9904, allocations: 129.5 kB / 1.229 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.9905, allocations: 59.41 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.9906, allocations: 105.8 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.9906, allocations: 25.7 kB / 1.229 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.9907, allocations: 88.14 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.9907, allocations: 15.83 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.9907, allocations: 17.72 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.9908, allocations: 310.8 kB / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.991, allocations: 35.95 kB / 1.23 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.9911, allocations: 32.16 kB / 1.23 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.9914, allocations: 68.86 kB / 1.23 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9914, allocations: 3.938 kB / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003206/0.9918, allocations: 105.5 kB / 1.23 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.9918, allocations: 9.719 kB / 1.23 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.9918, allocations: 0 / 1.23 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.9918, allocations: 0 / 1.23 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.9919, allocations: 19.97 kB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.992, allocations: 0 / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.9921, allocations: 19.94 kB / 1.23 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.9921, allocations: 4 kB / 1.23 GB, free: 9.418 MB / 0.9512 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.518e-05/0.9921, allocations: 109.8 kB / 1.23 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.9922, allocations: 4 kB / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.9926, allocations: 105.5 kB / 1.23 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.9926, allocations: 4 kB / 1.23 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.9926, allocations: 4 kB / 1.23 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.9926, allocations: 85.05 kB / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.9926, allocations: 3.938 kB / 1.23 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.9928, allocations: 11.98 kB / 1.23 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.619e-05/0.9928, allocations: 7.938 kB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003948/0.9932, allocations: 188.9 kB / 1.231 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003788/0.9936, allocations: 274.7 kB / 1.231 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001462/0.9938, allocations: 35.97 kB / 1.231 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.9938, allocations: 87.27 kB / 1.231 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of Backend: time 3.9e-07/0.9938, allocations: 0 / 1.231 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004888/0.9943, allocations: 110.4 kB / 1.231 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005474/0.9949, allocations: 0.5803 MB / 1.232 GB, free: 7.707 MB / 0.9512 GB Notification: Performance of Templates: time 0.003195/0.9981, allocations: 0.8579 MB / 1.233 GB, free: 6.863 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches