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.001632/0.001632, allocations: 110.4 kB / 16.27 MB, free: 6.352 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.002205/0.002205, allocations: 190.2 kB / 17.2 MB, free: 5.953 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 469.4 MB / 0.7426 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.84 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3467, allocations: 159.1 MB / 1.064 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004291/0.3511, allocations: 2.27 MB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3528, allocations: 0.9441 MB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.3531, allocations: 7.938 kB / 1.067 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006572/0.3537, allocations: 187.2 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002363/0.354, allocations: 67.5 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.3545, allocations: 115.7 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.3548, allocations: 219.1 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.3549, allocations: 85.62 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3551, allocations: 95.5 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.3552, allocations: 95.44 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.3553, allocations: 19.94 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.3556, allocations: 147.8 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.3558, allocations: 219.4 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.356, allocations: 262.1 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000706/0.3567, allocations: 0.7198 MB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3567, allocations: 0 / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3567, allocations: 4 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.124e-05/0.3567, allocations: 0 / 1.07 GB, free: 9.57 MB / 0.8419 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.001246/0.358, allocations: 0.963 MB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.358, allocations: 12.61 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005259/0.3586, allocations: 119.8 kB / 1.071 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.3593, allocations: 0.5896 MB / 1.071 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.3593, allocations: 8.375 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3593, allocations: 8.375 kB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.3597, allocations: 199.4 kB / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3597, allocations: 192 / 1.071 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.3598, allocations: 11.94 kB / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3598, allocations: 0 / 1.071 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004364/0.3602, allocations: 239.9 kB / 1.072 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3613, allocations: 0.9099 MB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006422/0.3619, allocations: 314.6 kB / 1.073 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.3622, allocations: 116.7 kB / 1.073 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000722/0.3629, allocations: 244.9 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3629, allocations: 38.48 kB / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3629, allocations: 0 / 1.073 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0008032/0.3637, allocations: 404.6 kB / 1.074 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3638, allocations: 51.41 kB / 1.074 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3649, allocations: 1.001 MB / 1.075 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3649, allocations: 25.7 kB / 1.075 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.3652, allocations: 348 kB / 1.075 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.3652, allocations: 31.55 kB / 1.075 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.3653, allocations: 25.72 kB / 1.075 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3654, allocations: 314 kB / 1.075 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.3656, allocations: 95.95 kB / 1.075 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.3658, allocations: 118.5 kB / 1.076 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003912/0.3662, allocations: 218.4 kB / 1.076 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3662, allocations: 4 kB / 1.076 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005319/0.3668, allocations: 316.9 kB / 1.076 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3668, allocations: 7.938 kB / 1.076 GB, free: 2.637 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3668, allocations: 4 kB / 1.076 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3668, allocations: 0 / 1.076 GB, free: 2.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.367, allocations: 28.14 kB / 1.076 GB, free: 2.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.367, allocations: 3.938 kB / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3672, allocations: 15.98 kB / 1.076 GB, free: 2.586 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3672, allocations: 4 kB / 1.076 GB, free: 2.582 MB / 0.8419 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.0002421/0.3675, allocations: 245.7 kB / 1.076 GB, free: 2.332 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.3675, allocations: 75 kB / 1.076 GB, free: 2.258 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/0.3682, allocations: 328.5 kB / 1.077 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3682, allocations: 4 kB / 1.077 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3682, allocations: 3.938 kB / 1.077 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3682, allocations: 3.984 kB / 1.077 GB, free: 1.918 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.3687, allocations: 0.5323 MB / 1.077 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3687, allocations: 3.938 kB / 1.077 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3689, allocations: 23.92 kB / 1.077 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3689, allocations: 0 / 1.077 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3689, allocations: 7.984 kB / 1.077 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3689, allocations: 3.984 kB / 1.077 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3689, allocations: 0 / 1.077 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.3695, allocations: 402.5 kB / 1.078 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.3696, allocations: 184.1 kB / 1.078 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.3697, allocations: 7.984 kB / 1.078 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.3699, allocations: 4 kB / 1.078 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.3699, allocations: 7.984 kB / 1.078 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3699, allocations: 0 / 1.078 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.6023/0.9723, allocations: 0.7163 MB / 1.079 GB, free: 22.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.092e-06/0.9723, allocations: 0 / 1.079 GB, free: 22.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000704/0.9731, allocations: 72.69 kB / 1.079 GB, free: 22.64 MB / 0.8419 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.0002532/0.9733, allocations: 106.8 kB / 1.079 GB, free: 22.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006678/0.974, allocations: 222.1 kB / 1.079 GB, free: 22.55 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.974, allocations: 1.562 kB / 1.079 GB, free: 22.55 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.9743, allocations: 111.9 kB / 1.079 GB, free: 22.55 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005379/0.9748, allocations: 52.91 kB / 1.079 GB, free: 22.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.9769, allocations: 1.223 MB / 1.08 GB, free: 22.09 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.9774, allocations: 0.9487 MB / 1.081 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.9775, allocations: 35.09 kB / 1.081 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.9775, allocations: 1.875 kB / 1.081 GB, free: 21.39 MB / 0.8419 GB Notification: Performance of Templates: time 0.01677/0.9943, allocations: 7.188 MB / 1.088 GB, free: 20.17 MB / 0.8419 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