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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001144/0.001144, allocations: 118.4 kB / 16.37 MB, free: 6 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.001129/0.001129, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.45 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2379, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003008/0.2409, allocations: 2.034 MB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.2417, allocations: 450.6 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.2418, allocations: 4 kB / 0.9536 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.242, allocations: 43.53 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.2421, allocations: 35.67 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.2423, allocations: 111.8 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.2426, allocations: 284.5 kB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.2429, allocations: 152.5 kB / 0.9542 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.243, allocations: 103.6 kB / 0.9543 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2431, allocations: 103.5 kB / 0.9544 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.2432, allocations: 36 kB / 0.9544 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.2432, allocations: 36 kB / 0.9544 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.638e-05/0.2433, allocations: 67.7 kB / 0.9545 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.2434, allocations: 119.4 kB / 0.9546 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.2437, allocations: 382.6 kB / 0.955 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2437, allocations: 0 / 0.955 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2437, allocations: 0 / 0.955 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2437, allocations: 0 / 0.955 GB, free: 4.094 MB / 0.7325 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.0008348/0.2446, allocations: 0.5457 MB / 0.9555 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2446, allocations: 12.03 kB / 0.9555 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.2447, allocations: 24.66 kB / 0.9555 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.245, allocations: 272.2 kB / 0.9558 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.245, allocations: 16.81 kB / 0.9558 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.245, allocations: 16.38 kB / 0.9558 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/0.2455, allocations: 234.3 kB / 0.956 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2455, allocations: 7.875 kB / 0.9561 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2455, allocations: 12 kB / 0.9561 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2455, allocations: 4 kB / 0.9561 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.246, allocations: 173 kB / 0.9562 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.247, allocations: 0.8546 MB / 0.9571 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.2475, allocations: 182.7 kB / 0.9572 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.2477, allocations: 88.81 kB / 0.9573 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2478, allocations: 4 kB / 0.9573 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.2478, allocations: 34.56 kB / 0.9574 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.2478, allocations: 0 / 0.9574 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0006032/0.2484, allocations: 233.4 kB / 0.9576 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.2485, allocations: 85.05 kB / 0.9577 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.2487, allocations: 231.1 kB / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.2487, allocations: 29.7 kB / 0.9579 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.2488, allocations: 160 kB / 0.9581 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.2488, allocations: 39.45 kB / 0.9581 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.2489, allocations: 37.7 kB / 0.9581 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.249, allocations: 326.8 kB / 0.9585 GB, free: 280 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.2492, allocations: 68.72 kB / 0.9585 GB, free: 208 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.2494, allocations: 109.1 kB / 0.9586 GB, free: 80 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/0.2498, allocations: 159 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2498, allocations: 4 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004251/0.2502, allocations: 205.4 kB / 0.959 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2502, allocations: 6.656 kB / 0.959 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2502, allocations: 4 kB / 0.959 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.2503, allocations: 3.938 kB / 0.959 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.2504, allocations: 44 kB / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.2505, allocations: 0 / 0.959 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.2506, allocations: 31.81 kB / 0.9591 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2506, allocations: 8 kB / 0.9591 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001882/0.2508, allocations: 155.6 kB / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001471/0.251, allocations: 97.06 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002473/0.2512, allocations: 135.3 kB / 0.9594 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.2512, allocations: 4 kB / 0.9594 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003309/0.2516, allocations: 193.2 kB / 0.9596 GB, free: 15 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.622e-06/0.2516, allocations: 4 kB / 0.9596 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.2516, allocations: 0 / 0.9596 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/0.2516, allocations: 4 kB / 0.9596 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.2517, allocations: 31.92 kB / 0.9597 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.2517, allocations: 3.984 kB / 0.9597 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2519, allocations: 19.98 kB / 0.9597 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.2519, allocations: 12.09 kB / 0.9597 GB, free: 14.92 MB / 0.7481 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.0001013/0.252, allocations: 192.1 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.252, allocations: 19.72 kB / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.152e-05/0.2521, allocations: 29.33 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2521, allocations: 0 / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.2521, allocations: 4 kB / 0.9599 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.2521, allocations: 0 / 0.9599 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/0.2524, allocations: 297.4 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2524, allocations: 4 kB / 0.9602 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.2526, allocations: 27.98 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.2526, allocations: 0 / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2526, allocations: 7.938 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2526, allocations: 0 / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2527, allocations: 7.938 kB / 0.9603 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.2533, allocations: 347.1 kB / 0.9606 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.2533, allocations: 100.9 kB / 0.9607 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.2534, allocations: 3.938 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.2535, allocations: 15.98 kB / 0.9607 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.2536, allocations: 7.984 kB / 0.9607 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.2536, allocations: 4 kB / 0.9607 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001492/0.2537, allocations: 172.5 kB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2537, allocations: 4.062 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003596/0.2541, allocations: 67.69 kB / 0.961 GB, free: 13.55 MB / 0.7481 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 9.535e-05/0.2542, allocations: 103.2 kB / 0.9611 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.2547, allocations: 227.7 kB / 0.9613 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2548, allocations: 0 / 0.9613 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.2549, allocations: 71.95 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2553, allocations: 34.66 kB / 0.9614 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006606/0.256, allocations: 393.3 kB / 0.9617 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.2562, allocations: 0.7323 MB / 0.9625 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.192e-05/0.2563, allocations: 21.55 kB / 0.9625 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.2564, allocations: 19.44 kB / 0.9625 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2564, allocations: 0 / 0.9625 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.004698/0.2611, allocations: 2.004 MB / 0.9645 GB, free: 9.926 MB / 0.7481 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 -s gbode -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