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.001028/0.001028, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008645/0.008645, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003788, allocations: 12.11 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.337, allocations: 159.6 MB / 1.059 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002819/0.3399, allocations: 1.96 MB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3414, allocations: 0.9367 MB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3415, allocations: 3.938 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.3421, allocations: 171.4 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.3423, allocations: 63.62 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.3426, allocations: 91.83 kB / 1.062 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.3429, allocations: 215 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3431, allocations: 85.61 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.3432, allocations: 75.53 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3433, allocations: 91.44 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.3434, allocations: 7.984 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.3436, allocations: 135.8 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.3438, allocations: 207.3 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3441, allocations: 267.8 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.3447, allocations: 0.6807 MB / 1.064 GB, free: 500 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3447, allocations: 0 / 1.064 GB, free: 500 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3447, allocations: 0 / 1.064 GB, free: 500 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.3447, allocations: 0 / 1.064 GB, free: 500 kB / 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.001111/0.3458, allocations: 0.8819 MB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.3459, allocations: 12.03 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005593/0.3465, allocations: 123.9 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.3472, allocations: 0.5816 MB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.3473, allocations: 16.38 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.3473, allocations: 12.38 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.3477, allocations: 198.6 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3478, allocations: 192 / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.3478, allocations: 11.94 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.3478, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.3483, allocations: 223.9 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3496, allocations: 0.9255 MB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006554/0.3502, allocations: 310.6 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.3504, allocations: 104.8 kB / 1.067 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009246/0.3514, allocations: 404.7 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.3514, allocations: 34.5 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3514, allocations: 4 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008154/0.3522, allocations: 400.6 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3523, allocations: 55.34 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.3535, allocations: 1.001 MB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3535, allocations: 25.7 kB / 1.069 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.3538, allocations: 351.9 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3539, allocations: 31.55 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3539, allocations: 13.72 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3541, allocations: 310 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.3543, allocations: 96.31 kB / 1.069 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.3545, allocations: 122.5 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.3549, allocations: 222.4 kB / 1.07 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3549, allocations: 0 / 1.07 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005748/0.3555, allocations: 316.5 kB / 1.07 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3555, allocations: 12.05 kB / 1.07 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3556, allocations: 0 / 1.07 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3556, allocations: 7.938 kB / 1.07 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.3558, allocations: 23.98 kB / 1.07 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3558, allocations: 4 kB / 1.07 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.3559, allocations: 7.984 kB / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.3559, allocations: 4 kB / 1.07 GB, free: 9.438 MB / 0.8262 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.0002657/0.3562, allocations: 251.3 kB / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.3563, allocations: 78.98 kB / 1.07 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000622/0.3569, allocations: 324.5 kB / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.357, allocations: 0 / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.357, allocations: 0 / 1.071 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.357, allocations: 4 kB / 1.071 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000554/0.3575, allocations: 0.5245 MB / 1.071 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3575, allocations: 3.938 kB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.3577, allocations: 35.86 kB / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3577, allocations: 0 / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3577, allocations: 4 kB / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3577, allocations: 0 / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3577, allocations: 192 / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/0.3583, allocations: 406.4 kB / 1.072 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.3585, allocations: 184.1 kB / 1.072 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.3586, allocations: 8 kB / 1.072 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3587, allocations: 7.984 kB / 1.072 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.3588, allocations: 8 kB / 1.072 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3588, allocations: 3.984 kB / 1.072 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008448/0.3597, allocations: 0.7176 MB / 1.073 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3597, allocations: 0 / 1.073 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003531/0.36, allocations: 67.91 kB / 1.073 GB, free: 6.742 MB / 0.8262 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.0002416/0.3603, allocations: 119.2 kB / 1.073 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000466/0.3607, allocations: 220 kB / 1.073 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3608, allocations: 0 / 1.073 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.361, allocations: 107.9 kB / 1.073 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.3614, allocations: 56.44 kB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3632, allocations: 1.35 MB / 1.074 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.3638, allocations: 0.9488 MB / 1.075 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002212/0.364, allocations: 85.31 kB / 1.075 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.719e-05/0.3641, allocations: 35.84 kB / 1.076 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.3641, allocations: 0 / 1.076 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of Templates: time 0.009463/0.3736, allocations: 4.13 MB / 1.08 GB, free: 15.64 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/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