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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001356/0.001356, allocations: 104.7 kB / 15.98 MB, free: 5.891 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.00129/0.00129, allocations: 187.5 kB / 16.91 MB, free: 5.746 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.885/2.885, allocations: 469.4 MB / 0.7423 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.66 kB / 0.9083 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3978, allocations: 159.1 MB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.005076/0.403, allocations: 2.094 MB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.4044, allocations: 422.7 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004303/0.4049, allocations: 4 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003013/0.4052, allocations: 31.72 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.4055, allocations: 31.78 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.4059, allocations: 87.95 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004679/0.4064, allocations: 280.5 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003954/0.4068, allocations: 156.5 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.407, allocations: 99.58 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.4072, allocations: 111.4 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.4073, allocations: 32 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.984e-05/0.4073, allocations: 32 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.4074, allocations: 63.78 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.4076, allocations: 123.4 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.408, allocations: 311.5 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.408, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.236e-06/0.408, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.4081, allocations: 0 / 1.067 GB, free: 11.08 MB / 0.8262 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.001263/0.4093, allocations: 0.5458 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.4094, allocations: 8.031 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.4095, allocations: 32.56 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.41, allocations: 260.9 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.4101, allocations: 16.81 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.4101, allocations: 20.38 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.4107, allocations: 242.2 kB / 1.069 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4107, allocations: 7.875 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.4107, allocations: 4 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.4108, allocations: 4 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004653/0.4112, allocations: 173 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.4129, allocations: 0.856 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.4136, allocations: 178.7 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.4138, allocations: 96.81 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.4139, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.4139, allocations: 30.56 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 2.014e-06/0.4139, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0007652/0.4147, allocations: 237.4 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.4148, allocations: 81.11 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.4151, allocations: 243.2 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4152, allocations: 29.7 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.4154, allocations: 156 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.101e-05/0.4154, allocations: 43.44 kB / 1.071 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.4155, allocations: 37.61 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.4157, allocations: 326.8 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.416, allocations: 80.81 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.4162, allocations: 103 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.4167, allocations: 166.1 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4167, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005283/0.4172, allocations: 209.4 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.4173, allocations: 7.984 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4173, allocations: 0 / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4173, allocations: 7.938 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.4175, allocations: 27.98 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.4175, allocations: 7.984 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.4177, allocations: 27.83 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.4177, allocations: 8.031 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002439/0.4179, allocations: 160 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001858/0.4181, allocations: 93.06 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002704/0.4184, allocations: 135.4 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.4184, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003696/0.4188, allocations: 175.8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.4188, allocations: 4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.4188, allocations: 7.938 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.466e-06/0.4189, allocations: 4.094 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.419, allocations: 43.84 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.419, allocations: 4 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.4191, allocations: 15.89 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4191, allocations: 11.94 kB / 1.072 GB, free: 5.914 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.0001397/0.4193, allocations: 188.2 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.4193, allocations: 15.81 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.4194, allocations: 33.31 kB / 1.072 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4194, allocations: 4 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4194, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.4194, allocations: 0 / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.4198, allocations: 301.4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4198, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.42, allocations: 31.92 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.42, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.42, allocations: 11.92 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.42, allocations: 0 / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.42, allocations: 4 kB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000753/0.4208, allocations: 339.2 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.4209, allocations: 96.95 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.4209, allocations: 7.938 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.4211, allocations: 20.03 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.4211, allocations: 4 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4211, allocations: 11.92 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001814/0.4213, allocations: 168.7 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.61e-07/0.4213, allocations: 0 / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003767/0.4217, allocations: 67.69 kB / 1.073 GB, free: 4.551 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.0001542/0.4219, allocations: 99.23 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000615/0.4225, allocations: 227.8 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4225, allocations: 0 / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.4227, allocations: 68.28 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.4232, allocations: 50.45 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.4243, allocations: 498.9 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.4247, allocations: 0.7363 MB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.941e-05/0.4248, allocations: 15.44 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of SimCode: time 7.32e-07/0.4248, allocations: 0 / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of Templates: time 0.005712/0.4305, allocations: 2.58 MB / 1.078 GB, free: 240 kB / 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