Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_9_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_9_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.001495/0.001495, allocations: 104 kB / 16.41 MB, free: 6.016 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.001545/0.001544, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.337/2.337, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.89 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.162, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003395/1.166, allocations: 2.043 MB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008491/1.167, allocations: 444.6 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/1.167, allocations: 12.34 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/1.167, allocations: 41.7 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/1.167, allocations: 30.97 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/1.167, allocations: 102.5 kB / 1.091 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003309/1.168, allocations: 291.7 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/1.168, allocations: 150.1 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/1.168, allocations: 99.59 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/1.168, allocations: 111.3 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/1.168, allocations: 32.81 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.458e-05/1.169, allocations: 33.38 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/1.169, allocations: 58.12 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/1.169, allocations: 115.5 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000514/1.169, allocations: 392.2 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.169, allocations: 1.797 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/1.169, allocations: 0 / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.996e-06/1.169, allocations: 0 / 1.092 GB, free: 2.926 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.000858/1.17, allocations: 0.5345 MB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.17, allocations: 9.766 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.817e-05/1.17, allocations: 33.47 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/1.171, allocations: 271.7 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/1.171, allocations: 16.88 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/1.171, allocations: 22.19 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/1.171, allocations: 235 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/1.171, allocations: 8.859 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/1.171, allocations: 9.438 kB / 1.094 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/1.171, allocations: 12.91 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/1.172, allocations: 173.4 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/1.173, allocations: 0.8389 MB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/1.174, allocations: 187.9 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/1.174, allocations: 92.38 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/1.174, allocations: 0.9688 kB / 1.095 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/1.174, allocations: 41.02 kB / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/1.174, allocations: 224 / 1.095 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.000681/1.175, allocations: 233.1 kB / 1.095 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/1.175, allocations: 79.33 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/1.175, allocations: 235.9 kB / 1.095 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/1.175, allocations: 26.52 kB / 1.095 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/1.175, allocations: 153.8 kB / 1.096 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/1.175, allocations: 40.61 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/1.175, allocations: 35.92 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.834e-05/1.175, allocations: 330 kB / 1.096 GB, free: 300 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/1.175, allocations: 67.67 kB / 1.096 GB, free: 272 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/1.176, allocations: 109.8 kB / 1.096 GB, free: 196 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/1.176, allocations: 165.9 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.176, allocations: 1 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000492/1.176, allocations: 203.3 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.177, allocations: 5.969 kB / 1.096 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.177, allocations: 5.125 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.177, allocations: 5.062 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/1.177, allocations: 37.59 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.177, allocations: 3.203 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/1.177, allocations: 25.02 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/1.177, allocations: 8.5 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002564/1.177, allocations: 155.8 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000185/1.177, allocations: 105.9 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002996/1.178, allocations: 133.8 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.222e-06/1.178, allocations: 3.938 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003933/1.178, allocations: 178 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/1.178, allocations: 6.328 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/1.178, allocations: 1.875 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/1.178, allocations: 2 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/1.178, allocations: 32.3 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.178, allocations: 10.2 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/1.178, allocations: 28.16 kB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/1.178, allocations: 7.688 kB / 1.097 GB, free: 15.61 MB / 0.8731 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.0001275/1.179, allocations: 184.4 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/1.179, allocations: 16.53 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/1.179, allocations: 24.64 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/1.179, allocations: 5.828 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.179, allocations: 0 / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.179, allocations: 5.891 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/1.179, allocations: 309.8 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/1.179, allocations: 4.656 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/1.179, allocations: 31.12 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.179, allocations: 4.812 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.179, allocations: 6.734 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.179, allocations: 0 / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.179, allocations: 1.344 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/1.18, allocations: 342.7 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.285e-05/1.18, allocations: 92.55 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/1.18, allocations: 9.031 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/1.18, allocations: 13.22 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/1.181, allocations: 14.17 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/1.181, allocations: 3.938 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002037/1.181, allocations: 165.6 kB / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.286e-06/1.181, allocations: 0 / 1.098 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003841/1.181, allocations: 76.34 kB / 1.098 GB, free: 14.66 MB / 0.8731 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.0001418/1.181, allocations: 98.42 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006489/1.182, allocations: 223 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.182, allocations: 0.9375 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001914/1.182, allocations: 70.45 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/1.183, allocations: 39.42 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/1.183, allocations: 406.6 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/1.184, allocations: 0.7392 MB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.311e-05/1.184, allocations: 18.83 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/1.184, allocations: 0 / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.006008/1.19, allocations: 2.584 MB / 1.102 GB, free: 13.2 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches