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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001535/0.001535, allocations: 108.9 kB / 16.38 MB, free: 6.461 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.001811/0.001811, allocations: 190 kB / 17.31 MB, free: 5.812 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.564/2.564, allocations: 442.6 MB / 0.7166 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.38 kB / 0.8774 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3539, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003599/0.3576, allocations: 2.269 MB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.359, allocations: 0.941 MB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.3592, allocations: 8 kB / 1.03 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.3598, allocations: 198.9 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.36, allocations: 67.44 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.3604, allocations: 111.7 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.3607, allocations: 215.2 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/0.3608, allocations: 93.62 kB / 1.031 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.361, allocations: 95.45 kB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3611, allocations: 95.44 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.3611, allocations: 16 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.3614, allocations: 151.8 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.3616, allocations: 223.3 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.3618, allocations: 262.1 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.3625, allocations: 0.7159 MB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3625, allocations: 7.938 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3625, allocations: 0 / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.3625, allocations: 4 kB / 1.032 GB, free: 12.62 MB / 0.8106 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.001224/0.3637, allocations: 0.9708 MB / 1.033 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3638, allocations: 8.031 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/0.3643, allocations: 119.8 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007457/0.3651, allocations: 0.5856 MB / 1.034 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3651, allocations: 12.36 kB / 1.034 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.3651, allocations: 16.36 kB / 1.034 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.3655, allocations: 199.4 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3655, allocations: 192 / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.3656, allocations: 7.938 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3656, allocations: 4 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.366, allocations: 224.4 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3672, allocations: 0.9177 MB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006351/0.3678, allocations: 314.4 kB / 1.035 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.368, allocations: 105 kB / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007083/0.3687, allocations: 240.8 kB / 1.036 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.3688, allocations: 34.56 kB / 1.036 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3688, allocations: 4 kB / 1.036 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0007718/0.3696, allocations: 396.6 kB / 1.036 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.3696, allocations: 51.41 kB / 1.036 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.3707, allocations: 1.001 MB / 1.037 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3707, allocations: 25.7 kB / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.371, allocations: 351.9 kB / 1.037 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.371, allocations: 31.62 kB / 1.038 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.3711, allocations: 29.62 kB / 1.038 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3712, allocations: 313.9 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.3715, allocations: 99.95 kB / 1.038 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.3717, allocations: 126.5 kB / 1.038 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.3721, allocations: 214.4 kB / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3722, allocations: 0 / 1.038 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005375/0.3727, allocations: 328.8 kB / 1.039 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3727, allocations: 8 kB / 1.039 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.3727, allocations: 96 / 1.039 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3728, allocations: 3.938 kB / 1.039 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3729, allocations: 23.98 kB / 1.039 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3729, allocations: 0 / 1.039 GB, free: 5.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.3731, allocations: 11.98 kB / 1.039 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3731, allocations: 4 kB / 1.039 GB, free: 5.633 MB / 0.8106 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.0002526/0.3734, allocations: 257.7 kB / 1.039 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.3735, allocations: 82.94 kB / 1.039 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/0.3741, allocations: 320.5 kB / 1.039 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3741, allocations: 3.984 kB / 1.039 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3741, allocations: 0 / 1.039 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.3744, allocations: 180.1 kB / 1.039 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.917e-05/0.3744, allocations: 7.938 kB / 1.039 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3746, allocations: 12 kB / 1.039 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.3747, allocations: 3.984 kB / 1.039 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005797/0.3752, allocations: 328.7 kB / 1.04 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006067/0.3759, allocations: 473.8 kB / 1.04 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002253/0.3761, allocations: 115.9 kB / 1.04 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009612/0.3771, allocations: 0.714 MB / 1.041 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of Backend: time 1.342e-06/0.3771, allocations: 0 / 1.041 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008305/0.3779, allocations: 222.2 kB / 1.041 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of SimCode: time 0.001746/0.3797, allocations: 1.569 MB / 1.043 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of Templates: time 0.01157/0.3912, allocations: 5.104 MB / 1.048 GB, free: 12.18 MB / 0.8262 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