Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 116.3 kB / 16.42 MB, free: 6.504 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.001503/0.001503, 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.441/1.441, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.605/2.605, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.91 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.061, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004056/1.065, allocations: 2.046 MB / 1.169 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001188/1.067, allocations: 450.7 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003014/1.067, allocations: 7.938 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/1.067, allocations: 39.61 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/1.067, allocations: 35.66 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/1.068, allocations: 103.8 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004517/1.068, allocations: 292.5 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/1.069, allocations: 160.5 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/1.069, allocations: 91.66 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/1.069, allocations: 107.4 kB / 1.171 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.231e-05/1.069, allocations: 36 kB / 1.171 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.106e-05/1.069, allocations: 32 kB / 1.171 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/1.069, allocations: 59.84 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001321/1.069, allocations: 135.3 kB / 1.171 GB, free: 288 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005094/1.07, allocations: 383.1 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.07, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.844e-06/1.07, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.394e-05/1.07, allocations: 0 / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001092/1.071, allocations: 0.5495 MB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/1.071, allocations: 8.031 kB / 1.172 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/1.071, allocations: 24.8 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/1.072, allocations: 273.5 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/1.072, allocations: 16.81 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/1.072, allocations: 20.33 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005187/1.072, allocations: 246.2 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/1.072, allocations: 3.938 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/1.072, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/1.072, allocations: 4 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/1.073, allocations: 173 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/1.074, allocations: 0.8445 MB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/1.075, allocations: 178.7 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002199/1.075, allocations: 96.81 kB / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/1.075, allocations: 0 / 1.174 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.075, allocations: 34.5 kB / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/1.075, allocations: 0 / 1.174 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0006931/1.076, allocations: 237.3 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.076, allocations: 77.33 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/1.076, allocations: 243.1 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/1.076, allocations: 25.7 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/1.076, allocations: 156.3 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/1.076, allocations: 43.62 kB / 1.174 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/1.076, allocations: 37.7 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.076, allocations: 330.8 kB / 1.175 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/1.077, allocations: 72.81 kB / 1.175 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.077, allocations: 107.5 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/1.077, allocations: 164.5 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.077, allocations: 0 / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004871/1.078, allocations: 206.9 kB / 1.175 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.078, allocations: 7.984 kB / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/1.078, allocations: 0 / 1.175 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.078, allocations: 7.938 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/1.078, allocations: 35.92 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.078, allocations: 4 kB / 1.175 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/1.078, allocations: 35.95 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/1.078, allocations: 7.984 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002209/1.078, allocations: 156.1 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001576/1.079, allocations: 89.12 kB / 1.175 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002702/1.079, allocations: 140.5 kB / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/1.079, allocations: 0 / 1.176 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003789/1.079, allocations: 173.5 kB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/1.079, allocations: 8.094 kB / 1.176 GB, free: 10.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/1.079, allocations: 4 kB / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-06/1.079, allocations: 0 / 1.176 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/1.079, allocations: 39.91 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/1.079, allocations: 11.92 kB / 1.176 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/1.08, allocations: 23.81 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/1.08, allocations: 4 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 0.0001327/1.08, allocations: 192.2 kB / 1.176 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/1.08, allocations: 23.86 kB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/1.08, allocations: 21.39 kB / 1.176 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.08, allocations: 7.938 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.08, allocations: 3.938 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.883e-05/1.08, allocations: 100.9 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/1.08, allocations: 0 / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/1.08, allocations: 15.98 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/1.08, allocations: 7.984 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005637/1.081, allocations: 252.9 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007999/1.082, allocations: 439.9 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001936/1.082, allocations: 63.98 kB / 1.177 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001925/1.082, allocations: 176.5 kB / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of Backend: time 8.42e-07/1.082, allocations: 0 / 1.177 GB, free: 9.422 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0008281/1.083, allocations: 250.6 kB / 1.177 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001172/1.084, allocations: 0.8194 MB / 1.178 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of Templates: time 0.00729/1.091, allocations: 2.683 MB / 1.181 GB, free: 5.645 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches