Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 118.8 kB / 16.42 MB, free: 6.441 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.001752/0.001752, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.544/1.544, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 76.06 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9171/0.9187, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002311/0.921, allocations: 0.7078 MB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.9224, allocations: 0.804 MB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.9225, allocations: 0 / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.9226, allocations: 7.938 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.9227, allocations: 3.938 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001263/0.9228, allocations: 15.98 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.9229, allocations: 39.91 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.923, allocations: 11.98 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.9231, allocations: 23.86 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.9232, allocations: 19.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.9232, allocations: 4 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.9233, allocations: 8 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.9233, allocations: 11.92 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.012e-05/0.9233, allocations: 11.94 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.9234, allocations: 39.86 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9235, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.448e-06/0.9235, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.9235, allocations: 3.938 kB / 1.21 GB, free: 11.88 MB / 0.9356 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.0006905/0.9242, allocations: 363.2 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.9242, allocations: 16.03 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.9243, allocations: 4.844 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.9245, allocations: 166.2 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.9246, allocations: 384 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.9246, allocations: 384 / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002696/0.9249, allocations: 78.14 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.9249, allocations: 4.125 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.9249, allocations: 3.938 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.9249, allocations: 4 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.9252, allocations: 63.92 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.9257, allocations: 264.9 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.926, allocations: 66.42 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.9261, allocations: 40.91 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.9262, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.9262, allocations: 30.56 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.9262, allocations: 0 / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0007013/0.9269, allocations: 125.6 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.9269, allocations: 55.39 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.9271, allocations: 109.8 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.9272, allocations: 29.7 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.9272, allocations: 87.98 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.9272, allocations: 15.84 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.9273, allocations: 13.72 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.9275, allocations: 322.8 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.9277, allocations: 27.97 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.9278, allocations: 31.95 kB / 1.212 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.9281, allocations: 65.08 kB / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9281, allocations: 0 / 1.212 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003305/0.9284, allocations: 109.5 kB / 1.212 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9285, allocations: 8 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9285, allocations: 0 / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.9285, allocations: 4 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.9286, allocations: 15.92 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.9287, allocations: 4 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.09e-05/0.9287, allocations: 11.92 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.9288, allocations: 4 kB / 1.212 GB, free: 9.559 MB / 0.9356 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.779e-05/0.9288, allocations: 117.8 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.9289, allocations: 7.906 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004361/0.9293, allocations: 101.5 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9293, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9293, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.9294, allocations: 81.11 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.9294, allocations: 4 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.9295, allocations: 15.98 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.9296, allocations: 11.92 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004222/0.93, allocations: 184.8 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004562/0.9305, allocations: 274.7 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000246/0.9307, allocations: 35.95 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.9308, allocations: 87.22 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of Backend: time 6.91e-07/0.9308, allocations: 3.938 kB / 1.213 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005147/0.9313, allocations: 121.3 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0007461/0.9321, allocations: 0.577 MB / 1.214 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of Templates: time 0.003562/0.9356, allocations: 0.844 MB / 1.215 GB, free: 7 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches