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.672/1.672, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 183.9 kB / 326.5 MB, free: 2.273 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.526/1.526, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008353/0.0008357, allocations: 87.34 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003563, allocations: 8.656 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2182, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.4191, allocations: 136.6 MB / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4194, allocations: 87.95 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0287/0.4481, allocations: 12.3 MB / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4482, allocations: 0 / 1.046 GB, free: 10.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.838e-05/0.4482, allocations: 12 kB / 1.046 GB, free: 10.67 MB / 0.698 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.001442/0.4497, allocations: 1.038 MB / 1.047 GB, free: 9.578 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.4497, allocations: 8.031 kB / 1.047 GB, free: 9.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.4508, allocations: 246.5 kB / 1.047 GB, free: 9.328 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006815/0.4515, allocations: 0.5541 MB / 1.047 GB, free: 8.719 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.4515, allocations: 20.66 kB / 1.047 GB, free: 8.695 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.493e-05/0.4516, allocations: 32 kB / 1.047 GB, free: 8.664 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.4525, allocations: 457.8 kB / 1.048 GB, free: 8.215 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4526, allocations: 7.938 kB / 1.048 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.4526, allocations: 16 kB / 1.048 GB, free: 8.191 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.4526, allocations: 8 kB / 1.048 GB, free: 8.184 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.4539, allocations: 0.5451 MB / 1.048 GB, free: 7.641 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00402/0.4579, allocations: 2.217 MB / 1.051 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.4591, allocations: 378.5 kB / 1.051 GB, free: 4.949 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.4592, allocations: 11.94 kB / 1.051 GB, free: 4.938 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4592, allocations: 38.56 kB / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.4592, allocations: 0 / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=20): time 0.001614/0.4608, allocations: 0.5566 MB / 1.052 GB, free: 4.328 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.4609, allocations: 55.41 kB / 1.052 GB, free: 4.262 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.4625, allocations: 1.143 MB / 1.053 GB, free: 3.102 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.106e-05/0.4626, allocations: 33.7 kB / 1.053 GB, free: 3.062 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004008/0.463, allocations: 420.6 kB / 1.053 GB, free: 2.648 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/0.4631, allocations: 75.3 kB / 1.053 GB, free: 2.574 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.4631, allocations: 8 kB / 1.053 GB, free: 2.566 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4633, allocations: 317.9 kB / 1.054 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/0.4639, allocations: 235.8 kB / 1.054 GB, free: 2.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.4645, allocations: 261.5 kB / 1.054 GB, free: 1.758 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/0.465, allocations: 231.3 kB / 1.054 GB, free: 1.535 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.465, allocations: 3.938 kB / 1.054 GB, free: 1.531 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001374/0.4664, allocations: 0.6017 MB / 1.055 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4665, allocations: 4 kB / 1.055 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.4665, allocations: 0 / 1.055 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4665, allocations: 8 kB / 1.055 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.4669, allocations: 79.86 kB / 1.055 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.467, allocations: 0 / 1.055 GB, free: 0.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.4674, allocations: 67.64 kB / 1.055 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.488e-05/0.4675, allocations: 15.98 kB / 1.055 GB, free: 0.75 MB / 0.698 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 () * Number of clocked 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.0003902/0.4679, allocations: 275.2 kB / 1.055 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.468, allocations: 86.88 kB / 1.055 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4534/0.9214, allocations: 463.7 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.9214, allocations: 2.781 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.9215, allocations: 0.875 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.9215, allocations: 2.406 kB / 1.056 GB, free: 147.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.924, allocations: 1.237 MB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9241, allocations: 1.156 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.9244, allocations: 68.28 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.9244, allocations: 3.094 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.9245, allocations: 11.91 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.9245, allocations: 6.047 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.9245, allocations: 2.109 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.9255, allocations: 0.6412 MB / 1.058 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.9258, allocations: 244.2 kB / 1.058 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.9259, allocations: 7.5 kB / 1.058 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.9263, allocations: 47.44 kB / 1.058 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.9264, allocations: 22.61 kB / 1.058 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.9264, allocations: 11.44 kB / 1.058 GB, free: 146.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000968/0.9274, allocations: 0.91 MB / 1.059 GB, free: 146.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9274, allocations: 0 / 1.059 GB, free: 146.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004854/0.9279, allocations: 119 kB / 1.059 GB, free: 146.7 MB / 0.698 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 (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.0002908/0.9282, allocations: 166.6 kB / 1.059 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009998/0.9292, allocations: 398.8 kB / 1.06 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9292, allocations: 0 / 1.06 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.9297, allocations: 176.9 kB / 1.06 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.9301, allocations: 64.2 kB / 1.06 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.9327, allocations: 1.651 MB / 1.061 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.9332, allocations: 1.016 MB / 1.062 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003358/0.9336, allocations: 102.2 kB / 1.062 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.9338, allocations: 46.92 kB / 1.063 GB, free: 145.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.91e-07/0.9338, allocations: 0 / 1.063 GB, free: 145.1 MB / 0.698 GB Notification: Performance of Templates: time 0.01673/0.9505, allocations: 6.811 MB / 1.069 GB, free: 144.8 MB / 0.698 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