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.005276/0.005276, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001127/0.001127, allocations: 197.7 kB / 16.67 MB, free: 6.352 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.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.547/2.547, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2746, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003077/0.2777, allocations: 2.05 MB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.2784, allocations: 454.4 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.2786, allocations: 4 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.2788, allocations: 39.59 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2789, allocations: 47.59 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.2791, allocations: 95.86 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.2794, allocations: 296.4 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000244/0.2797, allocations: 148.5 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.2798, allocations: 95.64 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2799, allocations: 107.4 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.28, allocations: 32 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.556e-05/0.28, allocations: 36 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.2801, allocations: 63.84 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.2802, allocations: 127.3 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.2806, allocations: 386.5 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2806, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2806, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2806, allocations: 0 / 1.17 GB, free: 2.875 MB / 0.92 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.000803/0.2814, allocations: 0.5494 MB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2814, allocations: 8.031 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.2815, allocations: 28.8 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004378/0.282, allocations: 273.6 kB / 1.171 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.282, allocations: 12.81 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.282, allocations: 24.33 kB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.2825, allocations: 238.2 kB / 1.172 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2825, allocations: 3.938 kB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.2826, allocations: 11.98 kB / 1.172 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.2826, allocations: 8 kB / 1.172 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004194/0.283, allocations: 169 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.2841, allocations: 0.8368 MB / 1.173 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005318/0.2847, allocations: 182.7 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.2849, allocations: 96.81 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.2849, allocations: 3.984 kB / 1.173 GB, free: 288 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.2849, allocations: 42.5 kB / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.285, allocations: 0 / 1.173 GB, free: 236 kB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.0006275/0.2856, allocations: 221.6 kB / 1.173 GB, free: 8 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.406e-05/0.2857, allocations: 89.03 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.2859, allocations: 235.2 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.2859, allocations: 25.7 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.624e-05/0.286, allocations: 156.2 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.2861, allocations: 51.62 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.2862, allocations: 37.7 kB / 1.174 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2863, allocations: 330.8 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.2865, allocations: 64.83 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.2867, allocations: 119.2 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.2871, allocations: 151.3 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2871, allocations: 0 / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004407/0.2875, allocations: 221 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2875, allocations: 4 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2875, allocations: 0 / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.2876, allocations: 7.938 kB / 1.174 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.2877, allocations: 39.97 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.2878, allocations: 8.031 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2879, allocations: 23.88 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2879, allocations: 8 kB / 1.175 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002355/0.2882, allocations: 152.1 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001455/0.2883, allocations: 93.11 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002583/0.2886, allocations: 143.4 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.2886, allocations: 0 / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003367/0.2889, allocations: 177.6 kB / 1.175 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.289, allocations: 9.562 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.289, allocations: 0 / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/0.289, allocations: 0 / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.2891, allocations: 35.86 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2891, allocations: 7.938 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.2892, allocations: 19.94 kB / 1.175 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2892, allocations: 4 kB / 1.175 GB, free: 13.71 MB / 0.9356 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.000109/0.2894, allocations: 192.2 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.2894, allocations: 23.86 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.2895, allocations: 25.33 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2895, allocations: 3.938 kB / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2895, allocations: 0 / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2895, allocations: 0 / 1.175 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.2898, allocations: 301.5 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2898, allocations: 0 / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.29, allocations: 31.95 kB / 1.176 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.29, allocations: 8 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.29, allocations: 7.938 kB / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.29, allocations: 0 / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.29, allocations: 0 / 1.176 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.2907, allocations: 355.2 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.2908, allocations: 93.03 kB / 1.176 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.2908, allocations: 11.94 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.291, allocations: 11.98 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.291, allocations: 11.98 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2911, allocations: 0 / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000173/0.2912, allocations: 168.5 kB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2912, allocations: 3.938 kB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003632/0.2916, allocations: 71.73 kB / 1.176 GB, free: 12.32 MB / 0.9356 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.0001396/0.2918, allocations: 107.3 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.2924, allocations: 227.4 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2924, allocations: 384 / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2926, allocations: 71.91 kB / 1.177 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.293, allocations: 39.95 kB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007606/0.2937, allocations: 401.5 kB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.294, allocations: 0.7323 MB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.779e-05/0.2941, allocations: 29.52 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.376e-05/0.2942, allocations: 15.44 kB / 1.178 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.2942, allocations: 4 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of Templates: time 0.004995/0.2992, allocations: 2.026 MB / 1.18 GB, free: 8.66 MB / 0.9356 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/jenkins/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