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.0009985/0.0009985, allocations: 85.86 kB / 20.68 MB, free: 3.789 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.0009717/0.0009717, allocations: 177 kB / 24.09 MB, free: 396 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 0.9298/0.9298, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.89/1.89, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.503e-06/1.503e-06, allocations: 0 / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.594e-05, allocations: 12.92 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003602/0.003628, allocations: 2.254 MB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.005002, allocations: 0.9174 MB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.005121, allocations: 4 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.005697, allocations: 176.8 kB / 0.8153 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.005852, allocations: 79.78 kB / 0.8154 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.006276, allocations: 111.7 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.006533, allocations: 232.7 kB / 0.8157 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.0067, allocations: 58.05 kB / 0.8158 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001848/0.006885, allocations: 127.7 kB / 0.8159 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.00698, allocations: 67.73 kB / 0.816 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.007014, allocations: 18.78 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.007319, allocations: 151.6 kB / 0.8161 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.007503, allocations: 215.3 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.00762, allocations: 131.5 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005368/0.008157, allocations: 489.8 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.008161, allocations: 0 / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.313e-06/0.008163, allocations: 0 / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.00817, allocations: 0 / 0.8169 GB, free: 12.43 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.001085/0.009255, allocations: 1.036 MB / 0.8179 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.0093, allocations: 12.03 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.009685, allocations: 126.8 kB / 0.8181 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.0101, allocations: 416.8 kB / 0.8185 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.01012, allocations: 8.375 kB / 0.8185 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.01015, allocations: 18.95 kB / 0.8185 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.01038, allocations: 106.9 kB / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01039, allocations: 192 / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.01041, allocations: 8.375 kB / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.01041, allocations: 0.9062 kB / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.082e-05/0.0105, allocations: 49.52 kB / 0.8186 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.01126, allocations: 0.5737 MB / 0.8192 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.01147, allocations: 84.8 kB / 0.8193 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.01152, allocations: 26.03 kB / 0.8193 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004008/0.01192, allocations: 149.4 kB / 0.8195 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.01194, allocations: 33.39 kB / 0.8195 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.01195, allocations: 1.875 kB / 0.8195 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0003763/0.01232, allocations: 161.1 kB / 0.8196 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.01235, allocations: 63.28 kB / 0.8197 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007785/0.01313, allocations: 0.8285 MB / 0.8205 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01315, allocations: 29.64 kB / 0.8205 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.01346, allocations: 454.7 kB / 0.821 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.01349, allocations: 36.75 kB / 0.821 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.01354, allocations: 31.36 kB / 0.821 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.01366, allocations: 492.4 kB / 0.8215 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.0137, allocations: 12.64 kB / 0.8215 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.01375, allocations: 43.58 kB / 0.8216 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.357e-05/0.01385, allocations: 69.59 kB / 0.8216 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01385, allocations: 0 / 0.8216 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002104/0.01406, allocations: 158.7 kB / 0.8218 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.01408, allocations: 8 kB / 0.8218 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.01408, allocations: 0 / 0.8218 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.01409, allocations: 4.531 kB / 0.8218 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.0142, allocations: 24.7 kB / 0.8218 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.01421, allocations: 3.938 kB / 0.8218 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.01429, allocations: 4.938 kB / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.0143, allocations: 4 kB / 0.8218 GB, free: 7.203 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.0001101/0.01441, allocations: 160.6 kB / 0.822 GB, free: 7.035 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.948e-05/0.01449, allocations: 83.47 kB / 0.8221 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.01474, allocations: 161 kB / 0.8222 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01475, allocations: 0 / 0.8222 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.01475, allocations: 3.938 kB / 0.8222 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.01475, allocations: 0 / 0.8222 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.01514, allocations: 324.8 kB / 0.8225 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01514, allocations: 0 / 0.8225 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.632e-05/0.01522, allocations: 27.92 kB / 0.8225 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.01523, allocations: 3.938 kB / 0.8226 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.01524, allocations: 0 / 0.8226 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01524, allocations: 4 kB / 0.8226 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01524, allocations: 0 / 0.8226 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.01547, allocations: 307.3 kB / 0.8228 GB, free: 6.086 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.0156, allocations: 95.44 kB / 0.8229 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.01564, allocations: 0 / 0.8229 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.01575, allocations: 8 kB / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.01578, allocations: 3.984 kB / 0.823 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.01578, allocations: 4 kB / 0.823 GB, free: 5.977 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005824/0.01637, allocations: 0.5065 MB / 0.8235 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01637, allocations: 0 / 0.8235 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003184/0.01668, allocations: 67.88 kB / 0.8235 GB, free: 5.41 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.0001729/0.01686, allocations: 111.2 kB / 0.8236 GB, free: 5.293 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.01699, allocations: 55.58 kB / 0.8237 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.01699, allocations: 0 / 0.8237 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.01704, allocations: 39.72 kB / 0.8237 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.01742, allocations: 59.3 kB / 0.8238 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.01876, allocations: 0.9687 MB / 0.8247 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.01891, allocations: 181 kB / 0.8249 GB, free: 3.93 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000147/0.01906, allocations: 57.33 kB / 0.8249 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.01921, allocations: 122.2 kB / 0.8251 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.01921, allocations: 4 kB / 0.8251 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of Templates: time 0.009472/0.02868, allocations: 4.855 MB / 0.8298 GB, free: 14.99 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.002671547234058]