Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 187.4 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 0.5671 GB, free: 15.85 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 86.55 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.056e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7003/0.9018, allocations: 136.8 MB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.9022, allocations: 79.95 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0292/0.9314, allocations: 12.13 MB / 1.031 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9314, allocations: 0 / 1.031 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.9314, allocations: 12 kB / 1.031 GB, free: 6.574 MB / 0.6511 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.00103/0.9325, allocations: 0.8593 MB / 1.032 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9325, allocations: 12.02 kB / 1.032 GB, free: 5.707 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.9336, allocations: 238.5 kB / 1.032 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.9343, allocations: 0.5521 MB / 1.032 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.9343, allocations: 8 kB / 1.032 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.9344, allocations: 20 kB / 1.032 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000571/0.935, allocations: 390.9 kB / 1.033 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.9355, allocations: 347.8 kB / 1.033 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.9355, allocations: 3.984 kB / 1.033 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.9356, allocations: 4 kB / 1.033 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.9356, allocations: 8 kB / 1.033 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/0.9392, allocations: 2.132 MB / 1.035 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.9398, allocations: 247.3 kB / 1.035 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.9399, allocations: 82.17 kB / 1.036 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.94, allocations: 8 kB / 1.036 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.94, allocations: 37.61 kB / 1.036 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=20): time 1.262e-06/0.94, allocations: 0 / 1.036 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20): time 0.0004907/0.9405, allocations: 268.2 kB / 1.036 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.9406, allocations: 58.78 kB / 1.036 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.9418, allocations: 1.019 MB / 1.037 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.9418, allocations: 25.7 kB / 1.037 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.9421, allocations: 414.6 kB / 1.037 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.9422, allocations: 65.25 kB / 1.037 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.9422, allocations: 0 / 1.037 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9423, allocations: 313.3 kB / 1.038 GB, free: 0.6641 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.9425, allocations: 160.4 kB / 1.038 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.9428, allocations: 185.9 kB / 1.038 GB, free: 464 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.9435, allocations: 241.4 kB / 1.038 GB, free: 296 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.9435, allocations: 4 kB / 1.038 GB, free: 292 kB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001104/0.9446, allocations: 0.5237 MB / 1.039 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.9447, allocations: 8 kB / 1.039 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9447, allocations: 0 / 1.039 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.9447, allocations: 0 / 1.039 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.9451, allocations: 87.52 kB / 1.039 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9451, allocations: 0 / 1.039 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.9455, allocations: 59.73 kB / 1.039 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.9456, allocations: 19.36 kB / 1.039 GB, free: 15.72 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.opeModWarUpEngTem.temChe.y,opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.9457, allocations: 104.9 kB / 1.039 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.9458, allocations: 90.83 kB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.9464, allocations: 291 kB / 1.039 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.9464, allocations: 7.953 kB / 1.039 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9464, allocations: 0 / 1.039 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.9464, allocations: 0 / 1.039 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.9478, allocations: 1.027 MB / 1.04 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.9478, allocations: 7.984 kB / 1.04 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.9482, allocations: 76.05 kB / 1.04 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.9482, allocations: 0 / 1.04 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.9482, allocations: 7.812 kB / 1.04 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.9482, allocations: 4 kB / 1.04 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.9482, allocations: 3.938 kB / 1.04 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000517/0.9487, allocations: 484.6 kB / 1.041 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002561/0.949, allocations: 234.8 kB / 1.041 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-05/0.9491, allocations: 4 kB / 1.041 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.9495, allocations: 39.95 kB / 1.041 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.9496, allocations: 27.28 kB / 1.041 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.9496, allocations: 11.62 kB / 1.041 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008657/0.9505, allocations: 0.7948 MB / 1.042 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9505, allocations: 0 / 1.042 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004159/0.9509, allocations: 119.7 kB / 1.042 GB, free: 12.93 MB / 0.6667 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002985/0.9512, allocations: 180.1 kB / 1.042 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003785/0.9516, allocations: 243.2 kB / 1.043 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.9516, allocations: 0 / 1.043 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.9518, allocations: 94.11 kB / 1.043 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.9521, allocations: 58.89 kB / 1.043 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.954, allocations: 1.047 MB / 1.044 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.9546, allocations: 1.013 MB / 1.045 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002909/0.9549, allocations: 102.4 kB / 1.045 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.9551, allocations: 43.42 kB / 1.045 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of SimCode: time 2.51e-07/0.9551, allocations: 3.938 kB / 1.045 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of Templates: time 0.01086/0.966, allocations: 5.107 MB / 1.05 GB, free: 5.312 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches