Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 104.8 kB / 16.41 MB, free: 6.516 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.001969/0.001969, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.747/2.747, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9391/0.9406, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004265/0.9449, allocations: 2.261 MB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.9469, allocations: 0.9516 MB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.9473, allocations: 4 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008994/0.9482, allocations: 186.9 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.9486, allocations: 67.44 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005552/0.9492, allocations: 115.7 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.9497, allocations: 219.1 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.95, allocations: 89.34 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.9502, allocations: 91.52 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.9504, allocations: 99.44 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.017e-05/0.9505, allocations: 20 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004513/0.9509, allocations: 151.8 kB / 1.213 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.9512, allocations: 219.3 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.9516, allocations: 262.1 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.9526, allocations: 0.7217 MB / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.9526, allocations: 0 / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9526, allocations: 0 / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.411e-05/0.9527, allocations: 0 / 1.214 GB, free: 8.191 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001857/0.9545, allocations: 0.9747 MB / 1.215 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.9546, allocations: 12.03 kB / 1.215 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006375/0.9553, allocations: 111.9 kB / 1.215 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.9563, allocations: 0.5895 MB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.9563, allocations: 8.375 kB / 1.215 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.9564, allocations: 20.36 kB / 1.215 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.9568, allocations: 199.3 kB / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.9569, allocations: 192 / 1.216 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.9569, allocations: 3.938 kB / 1.216 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.9569, allocations: 7.938 kB / 1.216 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.9574, allocations: 231.9 kB / 1.216 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.9589, allocations: 0.9215 MB / 1.217 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006947/0.9596, allocations: 314.5 kB / 1.217 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.9598, allocations: 104.9 kB / 1.217 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007984/0.9606, allocations: 244.9 kB / 1.217 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.9607, allocations: 34.56 kB / 1.217 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.9607, allocations: 0 / 1.217 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0008767/0.9616, allocations: 400.6 kB / 1.218 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.9616, allocations: 51.41 kB / 1.218 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.963, allocations: 1.001 MB / 1.219 GB, free: 2.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.963, allocations: 25.7 kB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.9633, allocations: 344 kB / 1.219 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.9634, allocations: 35.53 kB / 1.219 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.9635, allocations: 29.72 kB / 1.219 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002235/0.9637, allocations: 310 kB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.9639, allocations: 99.89 kB / 1.22 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.9641, allocations: 122.5 kB / 1.22 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.9646, allocations: 214.4 kB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.9646, allocations: 0 / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006107/0.9652, allocations: 324.8 kB / 1.22 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.9652, allocations: 8 kB / 1.22 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.9652, allocations: 0 / 1.22 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.9653, allocations: 4 kB / 1.22 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.9654, allocations: 31.92 kB / 1.22 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.9655, allocations: 4.062 kB / 1.22 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.9656, allocations: 15.92 kB / 1.22 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.9657, allocations: 4 kB / 1.22 GB, free: 1.188 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002721/0.9659, allocations: 249.7 kB / 1.221 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.9661, allocations: 75 kB / 1.221 GB, free: 0.8594 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.9668, allocations: 332.3 kB / 1.221 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.9668, allocations: 4 kB / 1.221 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.9668, allocations: 0 / 1.221 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.9668, allocations: 3.984 kB / 1.221 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.9674, allocations: 0.5169 MB / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.9674, allocations: 3.938 kB / 1.221 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.9676, allocations: 27.92 kB / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.9676, allocations: 0 / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.9676, allocations: 3.984 kB / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9676, allocations: 4 kB / 1.221 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9677, allocations: 4 kB / 1.221 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.9683, allocations: 398.5 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002121/0.9685, allocations: 184 kB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.9686, allocations: 7.969 kB / 1.222 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.9687, allocations: 8 kB / 1.222 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.9688, allocations: 15.92 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.9688, allocations: 4 kB / 1.222 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009366/0.9697, allocations: 0.7179 MB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9698, allocations: 0 / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003811/0.9701, allocations: 71.91 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 9 * 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.0002265/0.9704, allocations: 111.1 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005225/0.9709, allocations: 215.8 kB / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9709, allocations: 0 / 1.223 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.9712, allocations: 116 kB / 1.223 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.9716, allocations: 55.23 kB / 1.223 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.9736, allocations: 1.217 MB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006101/0.9742, allocations: 0.9362 MB / 1.225 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.9744, allocations: 43.42 kB / 1.225 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/0.9744, allocations: 0 / 1.225 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of Templates: time 0.01223/0.9866, allocations: 7.236 MB / 1.233 GB, free: 4.512 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches