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.000965/0.000965, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001063/0.001063, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 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 0.9856/0.9856, allocations: 177.1 MB / 204.2 MB, free: 5.219 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.944/1.944, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.763e-06/1.763e-06, allocations: 0 / 0.8116 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.051e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002714/0.002744, allocations: 2.281 MB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.003954, allocations: 0.9327 MB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.48e-05/0.004049, allocations: 1.594 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004897/0.004538, allocations: 178.3 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.00465, allocations: 77.03 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.005009, allocations: 115.7 kB / 0.8151 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002372/0.005247, allocations: 229.2 kB / 0.8153 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.005393, allocations: 58.05 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.005527, allocations: 127.6 kB / 0.8154 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.005614, allocations: 67.73 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.005644, allocations: 23.98 kB / 0.8155 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.005888, allocations: 146.5 kB / 0.8157 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.00603, allocations: 219.3 kB / 0.8159 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.006132, allocations: 135.5 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.006631, allocations: 485.9 kB / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.006634, allocations: 0 / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.31e-07/0.006635, allocations: 0 / 0.8165 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.006643, allocations: 0 / 0.8165 GB, free: 12.55 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.0009355/0.007578, allocations: 1.044 MB / 0.8175 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.00762, allocations: 8.031 kB / 0.8175 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.00797, allocations: 129.5 kB / 0.8176 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.00845, allocations: 449.3 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.008471, allocations: 8.938 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.008491, allocations: 12.38 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.008708, allocations: 126.8 kB / 0.8182 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.008719, allocations: 192 / 0.8182 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.008733, allocations: 8.312 kB / 0.8182 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.008743, allocations: 4.375 kB / 0.8182 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.008844, allocations: 59.89 kB / 0.8183 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007615/0.009605, allocations: 0.7182 MB / 0.819 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.009828, allocations: 96.94 kB / 0.8191 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.009872, allocations: 24.78 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/0.01022, allocations: 165.3 kB / 0.8192 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.01025, allocations: 41.33 kB / 0.8193 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.01025, allocations: 0 / 0.8193 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0003023/0.01055, allocations: 174.4 kB / 0.8194 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.01058, allocations: 56.5 kB / 0.8195 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006939/0.01127, allocations: 0.8666 MB / 0.8203 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.01129, allocations: 25.7 kB / 0.8204 GB, free: 8.398 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.01154, allocations: 435.5 kB / 0.8208 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.01156, allocations: 31.7 kB / 0.8208 GB, free: 7.934 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.0116, allocations: 34.2 kB / 0.8209 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.01171, allocations: 488.4 kB / 0.8213 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.2e-05/0.01175, allocations: 15.98 kB / 0.8213 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.0118, allocations: 47.05 kB / 0.8214 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.01189, allocations: 72.36 kB / 0.8214 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01189, allocations: 0 / 0.8214 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001994/0.01209, allocations: 174.6 kB / 0.8216 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.01211, allocations: 4.719 kB / 0.8216 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01211, allocations: 0 / 0.8216 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.01213, allocations: 12 kB / 0.8216 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.119e-05/0.01222, allocations: 27.92 kB / 0.8217 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01223, allocations: 0 / 0.8217 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.0123, allocations: 4 kB / 0.8217 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.01231, allocations: 4 kB / 0.8217 GB, free: 7.027 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.0001002/0.01241, allocations: 164.6 kB / 0.8218 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.231e-05/0.01247, allocations: 79.42 kB / 0.8219 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.01269, allocations: 160.6 kB / 0.822 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.0127, allocations: 7.938 kB / 0.8221 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.0127, allocations: 0 / 0.8221 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.0127, allocations: 3.984 kB / 0.8221 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.01318, allocations: 448.3 kB / 0.8225 GB, free: 6.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01318, allocations: 3.938 kB / 0.8225 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-05/0.01327, allocations: 19.98 kB / 0.8225 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01327, allocations: 0 / 0.8225 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.01328, allocations: 12 kB / 0.8225 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01328, allocations: 0 / 0.8225 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01329, allocations: 3.938 kB / 0.8225 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.01351, allocations: 303.9 kB / 0.8228 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.01363, allocations: 107.4 kB / 0.8229 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.01365, allocations: 0 / 0.8229 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.651e-05/0.01373, allocations: 11.98 kB / 0.8229 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.01377, allocations: 7.938 kB / 0.8229 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.01378, allocations: 3.984 kB / 0.8229 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004573/0.01423, allocations: 0.5341 MB / 0.8235 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01423, allocations: 0 / 0.8235 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002648/0.0145, allocations: 67.94 kB / 0.8235 GB, free: 5.051 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.0001972/0.0147, allocations: 115.2 kB / 0.8236 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.01487, allocations: 79.56 kB / 0.8237 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01487, allocations: 0 / 0.8237 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.01492, allocations: 39.61 kB / 0.8237 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01526, allocations: 55.3 kB / 0.8238 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.01656, allocations: 0.9688 MB / 0.8247 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.01667, allocations: 181 kB / 0.8249 GB, free: 3.547 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001123/0.01678, allocations: 65.33 kB / 0.825 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.083e-05/0.01685, allocations: 32.5 kB / 0.825 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of SimCode: time 1.362e-06/0.01685, allocations: 0 / 0.825 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of Templates: time 0.008943/0.02579, allocations: 4.587 MB / 0.8295 GB, free: 14.89 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.392893769778311]