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.008685/0.008685, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.001114/0.001114, allocations: 195.1 kB / 16.68 MB, free: 5.934 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 / 240.4 MB, free: 15.14 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.386/2.386, allocations: 390.2 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.89 kB / 0.9508 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.083, allocations: 140.4 MB / 1.088 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003339/1.086, allocations: 2.042 MB / 1.09 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008934/1.087, allocations: 444.4 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/1.088, allocations: 8.438 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/1.088, allocations: 45.67 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/1.088, allocations: 35.16 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/1.088, allocations: 99.31 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/1.088, allocations: 291.7 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/1.089, allocations: 150.3 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/1.089, allocations: 104.7 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/1.089, allocations: 101.9 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.562e-05/1.089, allocations: 32.81 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.725e-05/1.089, allocations: 36.97 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/1.089, allocations: 62.5 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001075/1.089, allocations: 119.7 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005061/1.09, allocations: 388.2 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.09, allocations: 0.9375 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/1.09, allocations: 0 / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.09, allocations: 4 kB / 1.092 GB, free: 2.922 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.0008652/1.091, allocations: 0.5411 MB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.091, allocations: 9.938 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/1.091, allocations: 29.25 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000373/1.091, allocations: 276.6 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/1.091, allocations: 20.09 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/1.091, allocations: 22.42 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/1.092, allocations: 230.7 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.092, allocations: 8.719 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/1.092, allocations: 6.859 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/1.092, allocations: 8.797 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/1.092, allocations: 176.5 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/1.093, allocations: 0.8474 MB / 1.094 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/1.094, allocations: 184.4 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/1.094, allocations: 91.44 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/1.094, allocations: 1.062 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/1.094, allocations: 37.41 kB / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/1.094, allocations: 224 / 1.094 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0006951/1.095, allocations: 225 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/1.095, allocations: 82.52 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/1.095, allocations: 240.3 kB / 1.095 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/1.095, allocations: 30.67 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.962e-05/1.095, allocations: 150.3 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/1.096, allocations: 44.45 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/1.096, allocations: 36.44 kB / 1.095 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.282e-05/1.096, allocations: 329.2 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/1.096, allocations: 72.2 kB / 1.095 GB, free: 256 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/1.096, allocations: 106.5 kB / 1.095 GB, free: 184 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/1.096, allocations: 164.4 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.096, allocations: 0 / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005182/1.097, allocations: 204 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.097, allocations: 9.562 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.097, allocations: 1.75 kB / 1.096 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.995e-05/1.097, allocations: 5.328 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/1.097, allocations: 37.98 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.097, allocations: 6.078 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/1.097, allocations: 29.94 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/1.097, allocations: 4.281 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002479/1.098, allocations: 155 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001843/1.098, allocations: 95.58 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003051/1.098, allocations: 138.2 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/1.098, allocations: 0.75 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0004241/1.099, allocations: 185.8 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.099, allocations: 7.438 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.099, allocations: 2.609 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/1.099, allocations: 0.8125 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/1.099, allocations: 33.66 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/1.099, allocations: 9.656 kB / 1.096 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/1.099, allocations: 22.72 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/1.099, allocations: 9.672 kB / 1.096 GB, free: 15.59 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.0001296/1.099, allocations: 186.9 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/1.099, allocations: 17.02 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/1.099, allocations: 20.94 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.099, allocations: 5.594 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.099, allocations: 0.5938 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.099, allocations: 6.234 kB / 1.097 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/1.1, allocations: 309.1 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.1, allocations: 5.875 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/1.1, allocations: 31.19 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.1, allocations: 3.938 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.1, allocations: 2.484 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.1, allocations: 8.859 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.1, allocations: 3.938 kB / 1.097 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/1.101, allocations: 339.7 kB / 1.097 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.529e-05/1.101, allocations: 99.38 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/1.101, allocations: 6.422 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/1.101, allocations: 17.05 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/1.101, allocations: 10.55 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/1.101, allocations: 7.016 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001898/1.101, allocations: 165.9 kB / 1.098 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.834e-06/1.101, allocations: 0 / 1.098 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003794/1.102, allocations: 73.31 kB / 1.098 GB, free: 14.64 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.0001459/1.102, allocations: 101.5 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006335/1.102, allocations: 224.2 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.102, allocations: 0.875 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/1.103, allocations: 66.67 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/1.103, allocations: 43.28 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/1.104, allocations: 386 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.104, allocations: 0.7379 MB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.542e-05/1.104, allocations: 17.91 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/1.104, allocations: 18.78 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/1.104, allocations: 0 / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.006101/1.111, allocations: 2.038 MB / 1.101 GB, free: 13.31 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/jenkins/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