Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.005906/0.005906, allocations: 100.4 kB / 15.87 MB, free: 5.863 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.001483/0.001483, allocations: 190.9 kB / 16.79 MB, free: 5.805 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.925/2.925, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.56 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3866, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.004285/0.391, allocations: 2.081 MB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.3921, allocations: 426.8 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.3924, allocations: 7.938 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.3927, allocations: 31.72 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.3929, allocations: 23.84 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.3932, allocations: 91.91 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.3936, allocations: 264.4 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.3939, allocations: 152.5 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.3941, allocations: 75.58 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.3942, allocations: 91.48 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.3943, allocations: 12 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.109e-05/0.3943, allocations: 12 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.3944, allocations: 51.77 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.3945, allocations: 95.41 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.3948, allocations: 311.6 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3948, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3948, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3948, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 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.001024/0.3959, allocations: 0.5457 MB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3959, allocations: 11.97 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.396, allocations: 24.66 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.3964, allocations: 268.3 kB / 1.057 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.3964, allocations: 20.75 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.3965, allocations: 24.3 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.397, allocations: 234.3 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.397, allocations: 11.94 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.397, allocations: 7.938 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.397, allocations: 4 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.3975, allocations: 169 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.3988, allocations: 0.8482 MB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005063/0.3993, allocations: 186.7 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.3996, allocations: 92.75 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3996, allocations: 8 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3996, allocations: 34.56 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3996, allocations: 0 / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0006513/0.4003, allocations: 229.4 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.4004, allocations: 81.11 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.4006, allocations: 239.2 kB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.4007, allocations: 25.7 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.4008, allocations: 164 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.4008, allocations: 39.44 kB / 1.06 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.4009, allocations: 41.61 kB / 1.06 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4011, allocations: 326.8 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.4013, allocations: 72.75 kB / 1.06 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.4015, allocations: 105.1 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.4018, allocations: 159.3 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4018, allocations: 0 / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004447/0.4023, allocations: 204.2 kB / 1.06 GB, free: 192 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4023, allocations: 8.094 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.4023, allocations: 4 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.4024, allocations: 3.938 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.4025, allocations: 39.91 kB / 1.06 GB, free: 136 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4026, allocations: 4 kB / 1.06 GB, free: 132 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.4027, allocations: 31.81 kB / 1.06 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.4027, allocations: 4 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002314/0.403, allocations: 152.1 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001479/0.4031, allocations: 98.44 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002647/0.4034, allocations: 147.3 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.4034, allocations: 0 / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003498/0.4038, allocations: 173.4 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.4038, allocations: 4 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.4038, allocations: 0 / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-06/0.4038, allocations: 4 kB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.4039, allocations: 35.86 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.4039, allocations: 8.031 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.4041, allocations: 31.88 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.4041, allocations: 4 kB / 1.061 GB, free: 15.41 MB / 0.8262 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.0001363/0.4042, allocations: 192.1 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.4043, allocations: 19.81 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.4043, allocations: 25.33 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4043, allocations: 4 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4044, allocations: 0 / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4044, allocations: 4 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.4047, allocations: 293.5 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4047, allocations: 3.984 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.4049, allocations: 23.98 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4049, allocations: 0 / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.4049, allocations: 7.938 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.4049, allocations: 4 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4049, allocations: 0 / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006333/0.4055, allocations: 355 kB / 1.062 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.4056, allocations: 92.92 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.058e-05/0.4057, allocations: 3.938 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4058, allocations: 15.98 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4059, allocations: 12.05 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4059, allocations: 4 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001744/0.4061, allocations: 172.5 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4061, allocations: 0 / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003598/0.4064, allocations: 67.69 kB / 1.062 GB, free: 14.05 MB / 0.8262 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.0001284/0.4066, allocations: 99.25 kB / 1.062 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005666/0.4071, allocations: 227.3 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4071, allocations: 0 / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.4073, allocations: 75.89 kB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.4078, allocations: 33.03 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.4087, allocations: 492.8 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.409, allocations: 0.7404 MB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.4091, allocations: 23.44 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of SimCode: time 6.72e-07/0.4091, allocations: 0 / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of Templates: time 0.005104/0.4142, allocations: 2.563 MB / 1.066 GB, free: 9.758 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches