Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 169.3 kB / 24.28 MB, free: 280 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.031/1.031, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.832/1.832, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0.875 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.957e-05, allocations: 3.156 kB / 0.8115 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002433/0.002452, allocations: 2.27 MB / 0.8138 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003555, allocations: 0.9287 MB / 0.8147 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.86e-05/0.003634, allocations: 4 kB / 0.8147 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000387/0.004021, allocations: 180 kB / 0.8148 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.594e-05/0.004107, allocations: 79.91 kB / 0.8149 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.004411, allocations: 109 kB / 0.815 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.004623, allocations: 227 kB / 0.8152 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.004771, allocations: 58.58 kB / 0.8153 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004883, allocations: 129 kB / 0.8154 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.004972, allocations: 71.72 kB / 0.8155 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.005, allocations: 20 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.005211, allocations: 140.7 kB / 0.8156 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.005347, allocations: 219.3 kB / 0.8158 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.407e-05/0.005441, allocations: 139.4 kB / 0.816 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.005824, allocations: 486.7 kB / 0.8164 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.005826, allocations: 3.938 kB / 0.8164 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.71e-07/0.005827, allocations: 1.281 kB / 0.8165 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.005832, allocations: 0 / 0.8165 GB, free: 13.06 MB / 0.7761 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.0008299/0.006662, allocations: 1.039 MB / 0.8175 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.006694, allocations: 11.97 kB / 0.8175 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003174/0.007012, allocations: 130.8 kB / 0.8176 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.007425, allocations: 448.8 kB / 0.818 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.007445, allocations: 8.375 kB / 0.818 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.007462, allocations: 14.12 kB / 0.8181 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.007681, allocations: 125.5 kB / 0.8182 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.007689, allocations: 192 / 0.8182 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.007705, allocations: 4.375 kB / 0.8182 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.007717, allocations: 4.375 kB / 0.8182 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.007821, allocations: 59.89 kB / 0.8182 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007631/0.008584, allocations: 0.7182 MB / 0.8189 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.00879, allocations: 97.23 kB / 0.819 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.008834, allocations: 23.69 kB / 0.8191 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003344/0.009168, allocations: 161.7 kB / 0.8192 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.00919, allocations: 37.39 kB / 0.8192 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.009191, allocations: 1.125 kB / 0.8192 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.000274/0.009465, allocations: 174.8 kB / 0.8194 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.009495, allocations: 59.34 kB / 0.8195 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.01019, allocations: 0.8666 MB / 0.8203 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.0102, allocations: 25.7 kB / 0.8203 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.01045, allocations: 437.3 kB / 0.8208 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.01047, allocations: 31.7 kB / 0.8208 GB, free: 8.461 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.01051, allocations: 31.36 kB / 0.8208 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.01062, allocations: 492.4 kB / 0.8213 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/0.01066, allocations: 12 kB / 0.8213 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.677e-05/0.01072, allocations: 51.61 kB / 0.8213 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.38e-05/0.01081, allocations: 72.64 kB / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01081, allocations: 0 / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001764/0.01099, allocations: 173.1 kB / 0.8216 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.011, allocations: 4 kB / 0.8216 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.011, allocations: 0 / 0.8216 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.01102, allocations: 7.938 kB / 0.8216 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.0111, allocations: 23.92 kB / 0.8216 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01111, allocations: 0 / 0.8216 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.01117, allocations: 8.062 kB / 0.8216 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.01118, allocations: 8 kB / 0.8216 GB, free: 7.551 MB / 0.7761 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.0001013/0.01128, allocations: 164.6 kB / 0.8218 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.836e-05/0.01134, allocations: 75.48 kB / 0.8219 GB, free: 7.305 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.01155, allocations: 172.6 kB / 0.822 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01155, allocations: 7.938 kB / 0.822 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.01156, allocations: 0 / 0.822 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01156, allocations: 0 / 0.822 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.0119, allocations: 448.3 kB / 0.8225 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.0119, allocations: 4 kB / 0.8225 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.956e-05/0.01196, allocations: 19.92 kB / 0.8225 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01196, allocations: 0 / 0.8225 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.01197, allocations: 8 kB / 0.8225 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01197, allocations: 0 / 0.8225 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.01197, allocations: 7.922 kB / 0.8225 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.01216, allocations: 299.9 kB / 0.8228 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.01227, allocations: 107.4 kB / 0.8229 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.0123, allocations: 0 / 0.8229 GB, free: 6.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.01237, allocations: 11.98 kB / 0.8229 GB, free: 6.18 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.01241, allocations: 7.938 kB / 0.8229 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.01241, allocations: 7.984 kB / 0.8229 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004217/0.01283, allocations: 0.5341 MB / 0.8234 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01283, allocations: 3.938 kB / 0.8234 GB, free: 5.633 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002201/0.01305, allocations: 67.94 kB / 0.8235 GB, free: 5.566 MB / 0.7761 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.0001317/0.01318, allocations: 111.2 kB / 0.8236 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.01333, allocations: 71.62 kB / 0.8237 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01333, allocations: 0 / 0.8237 GB, free: 5.375 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.552e-05/0.01337, allocations: 39.73 kB / 0.8237 GB, free: 5.332 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.01365, allocations: 55.3 kB / 0.8238 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.01481, allocations: 0.9725 MB / 0.8247 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.01493, allocations: 185 kB / 0.8249 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.01504, allocations: 61.33 kB / 0.825 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.01511, allocations: 36.5 kB / 0.825 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.01511, allocations: 0 / 0.825 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of Templates: time 0.008079/0.02319, allocations: 4.592 MB / 0.8295 GB, free: 15.41 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.200135679915547]