Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_latest_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_latest_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.001561/0.001561, allocations: 106.5 kB / 16.27 MB, free: 6.41 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.001651/0.001651, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.456/1.456, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.765/2.765, allocations: 482.4 MB / 0.7553 GB, free: 7 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 64.22 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07/1.072, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003838/1.076, allocations: 2.039 MB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008968/1.077, allocations: 445.4 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/1.077, allocations: 8.312 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001746/1.077, allocations: 40.81 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/1.077, allocations: 31.53 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/1.077, allocations: 102.3 kB / 1.086 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/1.078, allocations: 289.5 kB / 1.086 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/1.078, allocations: 151.8 kB / 1.086 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/1.078, allocations: 106.4 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/1.078, allocations: 106.6 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.588e-05/1.078, allocations: 33.69 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 4.74e-05/1.078, allocations: 32.16 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.415e-05/1.078, allocations: 63.2 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/1.079, allocations: 119.7 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004813/1.079, allocations: 375.4 kB / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.079, allocations: 0 / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.733e-06/1.079, allocations: 0 / 1.087 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.079, allocations: 0 / 1.087 GB, free: 15.09 MB / 0.8419 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.0009565/1.08, allocations: 0.5391 MB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.08, allocations: 10.52 kB / 1.087 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/1.08, allocations: 28.72 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/1.081, allocations: 271.1 kB / 1.088 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/1.081, allocations: 12.88 kB / 1.088 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/1.081, allocations: 26.45 kB / 1.088 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/1.081, allocations: 231.7 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.081, allocations: 7.875 kB / 1.088 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/1.081, allocations: 10.69 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/1.081, allocations: 4.094 kB / 1.088 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/1.082, allocations: 173.2 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/1.083, allocations: 0.8443 MB / 1.089 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/1.084, allocations: 179.9 kB / 1.089 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/1.084, allocations: 99.88 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/1.084, allocations: 6.125 kB / 1.089 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/1.084, allocations: 36.69 kB / 1.089 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/1.084, allocations: 0 / 1.089 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0007762/1.085, allocations: 229.5 kB / 1.089 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/1.085, allocations: 79 kB / 1.089 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/1.085, allocations: 240.2 kB / 1.09 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/1.085, allocations: 27.11 kB / 1.09 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/1.085, allocations: 154.8 kB / 1.09 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/1.085, allocations: 42.36 kB / 1.09 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-05/1.085, allocations: 37.17 kB / 1.09 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001511/1.086, allocations: 333.2 kB / 1.09 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/1.086, allocations: 64.23 kB / 1.09 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/1.086, allocations: 106.9 kB / 1.09 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/1.086, allocations: 157.1 kB / 1.091 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.086, allocations: 0 / 1.091 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004961/1.087, allocations: 222.7 kB / 1.091 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/1.087, allocations: 6.906 kB / 1.091 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.087, allocations: 2.516 kB / 1.091 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.087, allocations: 5.031 kB / 1.091 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/1.087, allocations: 32.98 kB / 1.091 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.087, allocations: 2.969 kB / 1.091 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/1.087, allocations: 29.61 kB / 1.091 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/1.087, allocations: 9.016 kB / 1.091 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002321/1.088, allocations: 159.1 kB / 1.091 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001778/1.088, allocations: 95.47 kB / 1.091 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002907/1.088, allocations: 134.9 kB / 1.091 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/1.088, allocations: 0 / 1.091 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0004/1.088, allocations: 179.1 kB / 1.091 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/1.088, allocations: 8.469 kB / 1.091 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/1.088, allocations: 1.219 kB / 1.091 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/1.088, allocations: 2.984 kB / 1.091 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/1.089, allocations: 36.25 kB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/1.089, allocations: 1.156 kB / 1.091 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/1.089, allocations: 27.3 kB / 1.091 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/1.089, allocations: 4.219 kB / 1.091 GB, free: 11.79 MB / 0.8419 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.0001571/1.089, allocations: 186.1 kB / 1.092 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/1.089, allocations: 23.28 kB / 1.092 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.504e-05/1.089, allocations: 33.5 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.089, allocations: 1.297 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.089, allocations: 0.7812 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.089, allocations: 0.7969 kB / 1.092 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/1.09, allocations: 306.8 kB / 1.092 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/1.09, allocations: 3.938 kB / 1.092 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/1.09, allocations: 31.75 kB / 1.092 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.09, allocations: 1.562 kB / 1.092 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/1.09, allocations: 12.55 kB / 1.092 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/1.09, allocations: 1.5 kB / 1.092 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.09, allocations: 0 / 1.092 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/1.09, allocations: 339.4 kB / 1.092 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/1.091, allocations: 99.7 kB / 1.092 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/1.091, allocations: 6.875 kB / 1.092 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.091, allocations: 12.2 kB / 1.092 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/1.091, allocations: 11.25 kB / 1.092 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.091, allocations: 7.484 kB / 1.092 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001905/1.091, allocations: 173 kB / 1.093 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/1.091, allocations: 0 / 1.093 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003839/1.091, allocations: 64.66 kB / 1.093 GB, free: 10.84 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (12): * Single equations (assignments): 12 * 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.0001476/1.092, allocations: 109.6 kB / 1.093 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006624/1.092, allocations: 222.8 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.092, allocations: 0.625 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002074/1.092, allocations: 75.83 kB / 1.093 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/1.093, allocations: 39.05 kB / 1.093 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000924/1.094, allocations: 427 kB / 1.094 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/1.094, allocations: 0.7382 MB / 1.094 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/1.094, allocations: 23.41 kB / 1.094 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of SimCode: time 4.31e-07/1.094, allocations: 0 / 1.094 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of Templates: time 0.006028/1.1, allocations: 2.572 MB / 1.097 GB, free: 9.344 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches