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.01273/0.01273, allocations: 102.5 kB / 15.73 MB, free: 6.035 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.001893/0.001893, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 67.89 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3667, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00363/0.3704, allocations: 2.263 MB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.372, allocations: 0.9477 MB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.3722, allocations: 8 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006319/0.3729, allocations: 186.9 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.3731, allocations: 67.44 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.3736, allocations: 111.7 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.3739, allocations: 227 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.3741, allocations: 101.6 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.3743, allocations: 83.58 kB / 1.212 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.3745, allocations: 99.38 kB / 1.212 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.3745, allocations: 16 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003723/0.3749, allocations: 147.8 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.3751, allocations: 215.4 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.3754, allocations: 266 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.3761, allocations: 0.7198 MB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3761, allocations: 4 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3761, allocations: 0 / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.3761, allocations: 0 / 1.213 GB, free: 4.211 MB / 0.9669 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.001421/0.3776, allocations: 0.9824 MB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.3776, allocations: 8.625 kB / 1.214 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005576/0.3782, allocations: 115.9 kB / 1.214 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008329/0.379, allocations: 0.5934 MB / 1.215 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.3791, allocations: 8.375 kB / 1.215 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.3791, allocations: 12.38 kB / 1.215 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.3795, allocations: 195.4 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.3795, allocations: 4.125 kB / 1.215 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3796, allocations: 11.94 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3796, allocations: 4 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.38, allocations: 224.4 kB / 1.215 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.3813, allocations: 0.9255 MB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.3819, allocations: 318.4 kB / 1.216 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.3821, allocations: 101 kB / 1.216 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007213/0.3829, allocations: 240.9 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.3829, allocations: 38.56 kB / 1.217 GB, free: 272 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3829, allocations: 0 / 1.217 GB, free: 272 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0008295/0.3837, allocations: 396.5 kB / 1.217 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3838, allocations: 59.41 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.3849, allocations: 0.9935 MB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.385, allocations: 29.7 kB / 1.218 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.3852, allocations: 340 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.3853, allocations: 31.55 kB / 1.219 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.3853, allocations: 29.7 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.3854, allocations: 314 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.3857, allocations: 91.95 kB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.3859, allocations: 130.4 kB / 1.219 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004004/0.3863, allocations: 210.5 kB / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3863, allocations: 0 / 1.219 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005634/0.3869, allocations: 332.8 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.3869, allocations: 4.094 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3869, allocations: 3.938 kB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3869, allocations: 4 kB / 1.22 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3871, allocations: 23.97 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3871, allocations: 4 kB / 1.22 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.3873, allocations: 7.906 kB / 1.22 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.3873, allocations: 8.062 kB / 1.22 GB, free: 13.21 MB / 0.9825 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.000243/0.3876, allocations: 253.7 kB / 1.22 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.3877, allocations: 75 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006196/0.3883, allocations: 336.4 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3883, allocations: 0 / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.3883, allocations: 0 / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.3884, allocations: 4 kB / 1.22 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.3889, allocations: 0.5246 MB / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3889, allocations: 7.938 kB / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.3891, allocations: 23.97 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3891, allocations: 0 / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3891, allocations: 4 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3891, allocations: 0 / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3891, allocations: 0 / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.3897, allocations: 406.5 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000245/0.3899, allocations: 184.1 kB / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.39, allocations: 0 / 1.221 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3902, allocations: 8 kB / 1.221 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.3902, allocations: 11.92 kB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3902, allocations: 4 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008559/0.3911, allocations: 0.7176 MB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3911, allocations: 4 kB / 1.222 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003714/0.3915, allocations: 71.84 kB / 1.222 GB, free: 10.51 MB / 0.9825 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.0001954/0.3917, allocations: 111.4 kB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004947/0.3922, allocations: 223.8 kB / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3922, allocations: 0 / 1.222 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.3924, allocations: 111.9 kB / 1.223 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3928, allocations: 48.28 kB / 1.223 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.3946, allocations: 1.158 MB / 1.224 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.3952, allocations: 0.9401 MB / 1.225 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.3954, allocations: 77.33 kB / 1.225 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.3955, allocations: 39.42 kB / 1.225 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.3955, allocations: 0 / 1.225 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.01068/0.4062, allocations: 4.57 MB / 1.229 GB, free: 3.184 MB / 0.9825 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/jenkins/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