Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009696/0.0009694, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007729/0.00773, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.446/1.446, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.762/2.762, allocations: 462.7 MB / 0.7364 GB, free: 336 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003656, allocations: 11.66 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3593, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003459/0.3629, allocations: 2.407 MB / 1.061 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3648, allocations: 1.065 MB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.3651, allocations: 8 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.3658, allocations: 191.1 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.3661, allocations: 67.56 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.3665, allocations: 151.8 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004878/0.367, allocations: 375.8 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003289/0.3674, allocations: 201.8 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3676, allocations: 111.3 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.3678, allocations: 143.1 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.543e-05/0.3678, allocations: 12 kB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000309/0.3681, allocations: 147.8 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.3683, allocations: 219.2 kB / 1.064 GB, free: 452 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.3686, allocations: 335.3 kB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008541/0.3695, allocations: 0.8986 MB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3695, allocations: 0 / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3695, allocations: 0 / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.68e-05/0.3695, allocations: 0 / 1.065 GB, free: 15.2 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001663/0.3712, allocations: 0.9953 MB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.3713, allocations: 8.031 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001477/0.3728, allocations: 267.5 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.3744, allocations: 0.7461 MB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.3745, allocations: 25.03 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.3745, allocations: 32.38 kB / 1.067 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008912/0.3754, allocations: 394.5 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3755, allocations: 3.938 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.3755, allocations: 15.98 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3755, allocations: 8 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.3766, allocations: 430.4 kB / 1.068 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.3806, allocations: 2.142 MB / 1.07 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.3813, allocations: 210.6 kB / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.3817, allocations: 100.8 kB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.3817, allocations: 12 kB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.3817, allocations: 38.45 kB / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.764e-06/0.3818, allocations: 0 / 1.07 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001146/0.3829, allocations: 373.7 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.383, allocations: 59.36 kB / 1.07 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.3846, allocations: 1.243 MB / 1.072 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.3846, allocations: 33.7 kB / 1.072 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003613/0.385, allocations: 428.4 kB / 1.072 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.3851, allocations: 71 kB / 1.072 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.3851, allocations: 29.7 kB / 1.072 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3852, allocations: 318 kB / 1.073 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.3856, allocations: 147.9 kB / 1.073 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.386, allocations: 206.4 kB / 1.073 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006744/0.3867, allocations: 279.9 kB / 1.073 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3867, allocations: 0 / 1.073 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000953/0.3877, allocations: 471 kB / 1.074 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3877, allocations: 8 kB / 1.074 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3877, allocations: 0 / 1.074 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3878, allocations: 7.938 kB / 1.074 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.3881, allocations: 51.91 kB / 1.074 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/0.3881, allocations: 7.984 kB / 1.074 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.3884, allocations: 39.67 kB / 1.074 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.3884, allocations: 8 kB / 1.074 GB, free: 5.738 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003344/0.3888, allocations: 275.2 kB / 1.074 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3889, allocations: 86.88 kB / 1.074 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008987/0.3898, allocations: 319.2 kB / 1.074 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.3898, allocations: 3.938 kB / 1.074 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3898, allocations: 3.938 kB / 1.074 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3898, allocations: 3.984 kB / 1.074 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.3916, allocations: 1.007 MB / 1.075 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3916, allocations: 0 / 1.075 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.3919, allocations: 47.89 kB / 1.075 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.3919, allocations: 4 kB / 1.075 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.392, allocations: 8.188 kB / 1.075 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.392, allocations: 4 kB / 1.075 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.392, allocations: 4 kB / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.3928, allocations: 429.1 kB / 1.076 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.3931, allocations: 215.9 kB / 1.076 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.3932, allocations: 12 kB / 1.076 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.3935, allocations: 11.98 kB / 1.076 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.3935, allocations: 19.92 kB / 1.076 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.3936, allocations: 15.98 kB / 1.076 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001187/0.3948, allocations: 0.9067 MB / 1.077 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3948, allocations: 3.938 kB / 1.077 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004565/0.3952, allocations: 99.75 kB / 1.077 GB, free: 2.137 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002264/0.3955, allocations: 113.9 kB / 1.077 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007766/0.3963, allocations: 279.7 kB / 1.077 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3963, allocations: 3.938 kB / 1.077 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/0.3966, allocations: 104.3 kB / 1.078 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.3973, allocations: 67.48 kB / 1.078 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.3998, allocations: 1.641 MB / 1.079 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.4005, allocations: 0.9957 MB / 1.08 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003578/0.4008, allocations: 100.6 kB / 1.08 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.401, allocations: 43.44 kB / 1.08 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.401, allocations: 4 kB / 1.08 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of Templates: time 0.01185/0.4128, allocations: 5.184 MB / 1.085 GB, free: 9.547 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches