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.001502/0.001502, allocations: 112.8 kB / 16.42 MB, free: 6.016 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.00169/0.001691, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 469.4 MB / 0.7428 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.91 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9347/0.9362, allocations: 159.1 MB / 1.221 GB, free: 2.301 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004391/0.9407, allocations: 2.258 MB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.9427, allocations: 0.9477 MB / 1.224 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002647/0.943, allocations: 4 kB / 1.224 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.9438, allocations: 186.9 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.9441, allocations: 75.44 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.9446, allocations: 107.7 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003872/0.945, allocations: 227 kB / 1.225 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002413/0.9453, allocations: 89.34 kB / 1.225 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.9454, allocations: 83.59 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.9456, allocations: 99.44 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.9457, allocations: 16 kB / 1.225 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.946, allocations: 163.8 kB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.9462, allocations: 211.3 kB / 1.225 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.9465, allocations: 266 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000882/0.9474, allocations: 0.7179 MB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.104e-05/0.9474, allocations: 4 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9474, allocations: 0 / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.9475, allocations: 0 / 1.226 GB, free: 12.86 MB / 0.9512 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.001475/0.9489, allocations: 0.9747 MB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.949, allocations: 8.625 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.9496, allocations: 119.8 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007972/0.9504, allocations: 0.5973 MB / 1.228 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.9504, allocations: 8.375 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.9504, allocations: 16.31 kB / 1.228 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.9508, allocations: 194.1 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.9508, allocations: 192 / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.9509, allocations: 15.92 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.9509, allocations: 0 / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.9513, allocations: 227.9 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.9525, allocations: 0.9216 MB / 1.229 GB, free: 9.629 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.9532, allocations: 318.4 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.9534, allocations: 105 kB / 1.23 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.9541, allocations: 248.9 kB / 1.23 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.9542, allocations: 34.56 kB / 1.23 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.9542, allocations: 0 / 1.23 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0007827/0.955, allocations: 404.5 kB / 1.23 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.955, allocations: 51.41 kB / 1.23 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.9562, allocations: 0.9974 MB / 1.231 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.9562, allocations: 25.7 kB / 1.231 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/0.9565, allocations: 340 kB / 1.232 GB, free: 7.059 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.9565, allocations: 35.55 kB / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.9566, allocations: 25.7 kB / 1.232 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.9567, allocations: 310 kB / 1.232 GB, free: 6.684 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.9569, allocations: 95.95 kB / 1.232 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.9571, allocations: 126.5 kB / 1.232 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.9575, allocations: 214.4 kB / 1.232 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.9575, allocations: 4 kB / 1.232 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005421/0.9581, allocations: 320.9 kB / 1.233 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9581, allocations: 8.031 kB / 1.233 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9581, allocations: 3.938 kB / 1.233 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9581, allocations: 0 / 1.233 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.9583, allocations: 32.03 kB / 1.233 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.9583, allocations: 3.938 kB / 1.233 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.9585, allocations: 19.84 kB / 1.233 GB, free: 5.848 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.9585, allocations: 7.984 kB / 1.233 GB, free: 5.84 MB / 0.9512 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.0002575/0.9588, allocations: 242.3 kB / 1.233 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/0.9589, allocations: 75 kB / 1.233 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006477/0.9595, allocations: 332.4 kB / 1.233 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.9595, allocations: 0 / 1.233 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9596, allocations: 0 / 1.233 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/0.9598, allocations: 180.1 kB / 1.234 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.9599, allocations: 4 kB / 1.234 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.9601, allocations: 7.984 kB / 1.234 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.9601, allocations: 4 kB / 1.234 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005657/0.9607, allocations: 332.7 kB / 1.234 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005929/0.9613, allocations: 481.7 kB / 1.234 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002208/0.9615, allocations: 104.2 kB / 1.234 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008891/0.9624, allocations: 0.7215 MB / 1.235 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of Backend: time 4.51e-07/0.9624, allocations: 0 / 1.235 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008346/0.9633, allocations: 222.2 kB / 1.235 GB, free: 3.105 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001878/0.9651, allocations: 1.561 MB / 1.237 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of Templates: time 0.01075/0.9759, allocations: 5.192 MB / 1.242 GB, free: 12.32 MB / 0.9669 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