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.001328/0.001328, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.001365/0.001365, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.393/2.393, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 68.16 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3608, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003603/0.3645, allocations: 2.269 MB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.366, allocations: 0.941 MB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3662, allocations: 0 / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005563/0.3667, allocations: 194.9 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.3669, allocations: 71.44 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.3673, allocations: 111.7 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.3675, allocations: 223.1 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.3677, allocations: 93.62 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.3679, allocations: 87.52 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.368, allocations: 99.44 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.368, allocations: 16 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.3683, allocations: 159.8 kB / 1.031 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3685, allocations: 215.2 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.3687, allocations: 270 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006326/0.3693, allocations: 0.7238 MB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3693, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.694e-06/0.3694, allocations: 0 / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.3694, allocations: 0 / 1.032 GB, free: 12.57 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.001205/0.3706, allocations: 0.9669 MB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3706, allocations: 8.031 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005289/0.3712, allocations: 119.8 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007632/0.3719, allocations: 0.5896 MB / 1.034 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.372, allocations: 8.375 kB / 1.034 GB, free: 10.78 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.372, allocations: 12.38 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.3724, allocations: 199.1 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3724, allocations: 4.188 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3724, allocations: 7.938 kB / 1.034 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.3724, allocations: 4 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.3728, allocations: 227.9 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.374, allocations: 0.9137 MB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.3746, allocations: 318.5 kB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.3748, allocations: 108.9 kB / 1.035 GB, free: 8.938 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006401/0.3755, allocations: 236.9 kB / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.3755, allocations: 42.5 kB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.3755, allocations: 0 / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0007551/0.3763, allocations: 400.5 kB / 1.036 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3763, allocations: 55.41 kB / 1.036 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.3774, allocations: 0.9935 MB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3774, allocations: 29.7 kB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.3777, allocations: 351.9 kB / 1.037 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3778, allocations: 27.66 kB / 1.037 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/0.3778, allocations: 29.61 kB / 1.038 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3779, allocations: 314.4 kB / 1.038 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.3781, allocations: 95.94 kB / 1.038 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.3784, allocations: 122.5 kB / 1.038 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.3787, allocations: 222.4 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3788, allocations: 8 kB / 1.038 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005158/0.3793, allocations: 312.5 kB / 1.039 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.3793, allocations: 4 kB / 1.039 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3793, allocations: 7.922 kB / 1.039 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3793, allocations: 4 kB / 1.039 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.3795, allocations: 24.05 kB / 1.039 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3795, allocations: 4 kB / 1.039 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.3797, allocations: 7.984 kB / 1.039 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3797, allocations: 8 kB / 1.039 GB, free: 5.574 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.0002394/0.38, allocations: 245.7 kB / 1.039 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.3801, allocations: 75 kB / 1.039 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.3807, allocations: 336.4 kB / 1.039 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.3807, allocations: 0 / 1.039 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.3807, allocations: 4 kB / 1.039 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3807, allocations: 0 / 1.039 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000531/0.3812, allocations: 0.5323 MB / 1.04 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3813, allocations: 3.938 kB / 1.04 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.3814, allocations: 23.92 kB / 1.04 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3814, allocations: 4 kB / 1.04 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3814, allocations: 4 kB / 1.04 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3814, allocations: 192 / 1.04 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3815, allocations: 0 / 1.04 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.382, allocations: 406.4 kB / 1.04 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.3822, allocations: 188.1 kB / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/0.3823, allocations: 0 / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3825, allocations: 11.98 kB / 1.04 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.3825, allocations: 4 kB / 1.04 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.3825, allocations: 7.984 kB / 1.04 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008121/0.3834, allocations: 0.7176 MB / 1.041 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3834, allocations: 0 / 1.041 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003689/0.3837, allocations: 75.84 kB / 1.041 GB, free: 2.867 MB / 0.8106 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.0002081/0.384, allocations: 111.2 kB / 1.041 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004619/0.3844, allocations: 219.8 kB / 1.041 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3844, allocations: 0 / 1.041 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.3846, allocations: 112 kB / 1.042 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3851, allocations: 47.25 kB / 1.042 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3868, allocations: 1.162 MB / 1.043 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.3875, allocations: 0.9454 MB / 1.044 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002015/0.3877, allocations: 77.78 kB / 1.044 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.3878, allocations: 31.44 kB / 1.044 GB, free: 112 kB / 0.8106 GB Notification: Performance of SimCode: time 2.024e-06/0.3878, allocations: 0 / 1.044 GB, free: 112 kB / 0.8106 GB Notification: Performance of Templates: time 0.009764/0.3975, allocations: 4.404 MB / 1.048 GB, free: 11.71 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 -s gbode -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