Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002216/0.002216, allocations: 213.7 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.49 GB / 0.7958 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conBoiRet.TSet|conBoiRet.TRet|conBoiRet.yVal",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 69.09 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4203, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003674/0.424, allocations: 2.071 MB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.425, allocations: 470.7 kB / 1.33 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.4252, allocations: 7.938 kB / 1.33 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.4253, allocations: 35.59 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.4254, allocations: 43.66 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.4257, allocations: 107.7 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.426, allocations: 292.4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.4263, allocations: 101.1 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.4264, allocations: 99.59 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.4266, allocations: 107.5 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.4266, allocations: 35.94 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.4267, allocations: 32 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.185e-05/0.4267, allocations: 63.78 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.4269, allocations: 127.4 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.4273, allocations: 382.5 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4273, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4273, allocations: 0 / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.4273, allocations: 3.938 kB / 1.331 GB, free: 13.49 MB / 1.029 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.0009263/0.4283, allocations: 0.4983 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4283, allocations: 12.03 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.4284, allocations: 28.75 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.4288, allocations: 214.5 kB / 1.332 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.4288, allocations: 16.81 kB / 1.332 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.4289, allocations: 16.38 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.4293, allocations: 234.3 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.4294, allocations: 7.938 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.4294, allocations: 7.984 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4294, allocations: 8 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.4298, allocations: 169 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.431, allocations: 0.8098 MB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005084/0.4316, allocations: 174.7 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002181/0.4318, allocations: 100.7 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.4318, allocations: 4 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.4318, allocations: 30.56 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.4318, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=12): time 0.0006655/0.4325, allocations: 233.5 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.4326, allocations: 85.09 kB / 1.334 GB, free: 10.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.4328, allocations: 231.2 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.4329, allocations: 33.7 kB / 1.334 GB, free: 10.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.433, allocations: 152.2 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.433, allocations: 43.64 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.4331, allocations: 33.7 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4333, allocations: 334.8 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/0.4334, allocations: 64.83 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.4336, allocations: 111.1 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.434, allocations: 158.2 kB / 1.335 GB, free: 9.488 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.434, allocations: 7.938 kB / 1.335 GB, free: 9.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000456/0.4345, allocations: 205.4 kB / 1.335 GB, free: 9.273 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4345, allocations: 8 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.4345, allocations: 0 / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.4345, allocations: 7.875 kB / 1.335 GB, free: 9.258 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.4347, allocations: 39.97 kB / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4347, allocations: 0 / 1.335 GB, free: 9.219 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.4348, allocations: 35.92 kB / 1.335 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.4348, allocations: 4 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002189/0.4351, allocations: 152.1 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001666/0.4352, allocations: 101 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002704/0.4355, allocations: 143.4 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.4355, allocations: 0 / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003474/0.4359, allocations: 181.3 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.4359, allocations: 4.094 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.4359, allocations: 4 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-06/0.4359, allocations: 4 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.436, allocations: 31.92 kB / 1.336 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.436, allocations: 3.938 kB / 1.336 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.4361, allocations: 27.88 kB / 1.336 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4361, allocations: 4 kB / 1.336 GB, free: 8.5 MB / 1.029 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.0001345/0.4363, allocations: 184.8 kB / 1.336 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.4363, allocations: 23.89 kB / 1.336 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.378e-05/0.4364, allocations: 21.34 kB / 1.336 GB, free: 8.266 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4364, allocations: 4 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4364, allocations: 0 / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4364, allocations: 0 / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.4367, allocations: 280.5 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4367, allocations: 0 / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.4369, allocations: 31.91 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4369, allocations: 0 / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4369, allocations: 7.938 kB / 1.336 GB, free: 7.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4369, allocations: 8 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4369, allocations: 0 / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006602/0.4376, allocations: 347.2 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.4376, allocations: 23.91 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.4377, allocations: 11.94 kB / 1.336 GB, free: 7.508 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.4378, allocations: 11.98 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.4378, allocations: 11.98 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4379, allocations: 4 kB / 1.336 GB, free: 7.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001802/0.438, allocations: 168.5 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.438, allocations: 0 / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000369/0.4384, allocations: 75.72 kB / 1.337 GB, free: 7.242 MB / 1.029 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.0001557/0.4386, allocations: 103.2 kB / 1.337 GB, free: 7.129 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006052/0.4392, allocations: 211.7 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4392, allocations: 0 / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.4394, allocations: 76.27 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.4398, allocations: 34.38 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.4407, allocations: 422.9 kB / 1.338 GB, free: 6.367 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.4411, allocations: 0.7363 MB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.4411, allocations: 23.42 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4411, allocations: 0 / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of Templates: time 0.005303/0.4464, allocations: 2.571 MB / 1.341 GB, free: 3.02 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.689296011987608]