Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.00102/0.00102, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001193/0.001193, allocations: 163.6 kB / 24.86 MB, free: 9.289 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.9986/0.9986, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.901/1.901, allocations: 377.9 MB / 0.6247 GB, free: 8.406 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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.911e-05, allocations: 3.031 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003021/0.00304, allocations: 2.658 MB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.004389, allocations: 1.053 MB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.004552, allocations: 4 kB / 0.8164 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.005074, allocations: 199.4 kB / 0.8166 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.00523, allocations: 100.7 kB / 0.8167 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.005657, allocations: 188.1 kB / 0.8169 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.005997, allocations: 415.6 kB / 0.8173 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.00621, allocations: 143.7 kB / 0.8174 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002121/0.006422, allocations: 243.3 kB / 0.8176 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.006548, allocations: 116.7 kB / 0.8178 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.006587, allocations: 36 kB / 0.8178 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.006834, allocations: 163.8 kB / 0.818 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.007005, allocations: 259.9 kB / 0.8182 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.007131, allocations: 187.3 kB / 0.8184 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.007687, allocations: 0.6033 MB / 0.819 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.00769, allocations: 0 / 0.819 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.007691, allocations: 4.688 kB / 0.819 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.237e-05/0.007703, allocations: 0 / 0.819 GB, free: 11.09 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001058/0.008761, allocations: 1.191 MB / 0.8201 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.008795, allocations: 12.86 kB / 0.8201 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005812/0.009376, allocations: 226 kB / 0.8204 GB, free: 9.625 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004348/0.009811, allocations: 480.6 kB / 0.8208 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.009831, allocations: 29.03 kB / 0.8208 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.009861, allocations: 28.38 kB / 0.8209 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.01019, allocations: 253.5 kB / 0.8211 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.01021, allocations: 6.109 kB / 0.8211 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.01023, allocations: 16.38 kB / 0.8211 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.01024, allocations: 8.375 kB / 0.8211 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.01039, allocations: 117.8 kB / 0.8213 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.01194, allocations: 1.126 MB / 0.8224 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/0.01217, allocations: 126.5 kB / 0.8225 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.674e-05/0.01223, allocations: 39.75 kB / 0.8225 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.01226, allocations: 12 kB / 0.8225 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.01228, allocations: 33.39 kB / 0.8226 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.542e-06/0.01228, allocations: 0.7188 kB / 0.8226 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003302/0.01261, allocations: 220.9 kB / 0.8228 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.01264, allocations: 59.41 kB / 0.8228 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006361/0.01327, allocations: 0.9263 MB / 0.8237 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.0133, allocations: 33.7 kB / 0.8238 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.01359, allocations: 0.5066 MB / 0.8243 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.01362, allocations: 67.42 kB / 0.8243 GB, free: 5.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.01369, allocations: 67.27 kB / 0.8244 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.0138, allocations: 0.4886 MB / 0.8249 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-05/0.01386, allocations: 27.98 kB / 0.8249 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.01394, allocations: 102.1 kB / 0.825 GB, free: 4.707 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.01407, allocations: 128.6 kB / 0.8251 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01408, allocations: 0 / 0.8251 GB, free: 4.559 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002769/0.01435, allocations: 257.4 kB / 0.8254 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01437, allocations: 4 kB / 0.8254 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.01437, allocations: 4 kB / 0.8254 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.106e-06/0.01438, allocations: 0 / 0.8254 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.01453, allocations: 60.06 kB / 0.8254 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.01453, allocations: 4 kB / 0.8254 GB, free: 4.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.01464, allocations: 31.77 kB / 0.8255 GB, free: 4.199 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.01466, allocations: 8 kB / 0.8255 GB, free: 4.191 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001228/0.01478, allocations: 172.5 kB / 0.8256 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.399e-05/0.01485, allocations: 91.44 kB / 0.8257 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.01511, allocations: 210.9 kB / 0.8259 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01511, allocations: 0 / 0.8259 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.01512, allocations: 0 / 0.8259 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01512, allocations: 0 / 0.8259 GB, free: 3.707 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.0158, allocations: 0.7211 MB / 0.8266 GB, free: 2.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.0158, allocations: 4 kB / 0.8266 GB, free: 2.922 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.01591, allocations: 43.91 kB / 0.8267 GB, free: 2.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01592, allocations: 4 kB / 0.8267 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.01593, allocations: 4 kB / 0.8267 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01593, allocations: 3.938 kB / 0.8267 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01593, allocations: 4 kB / 0.8267 GB, free: 2.863 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.01621, allocations: 409.6 kB / 0.8271 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.01634, allocations: 115.3 kB / 0.8272 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.01638, allocations: 11.98 kB / 0.8272 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.01649, allocations: 11.94 kB / 0.8272 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.01653, allocations: 19.97 kB / 0.8272 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.01654, allocations: 4 kB / 0.8272 GB, free: 2.258 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003699/0.01691, allocations: 0.5543 MB / 0.8278 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.9e-07/0.01691, allocations: 4 kB / 0.8278 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003002/0.01721, allocations: 107.8 kB / 0.8279 GB, free: 1.582 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001458/0.01736, allocations: 119.1 kB / 0.828 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.01755, allocations: 126.8 kB / 0.8281 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01755, allocations: 4 kB / 0.8281 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.01762, allocations: 55.53 kB / 0.8282 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.01799, allocations: 79.25 kB / 0.8282 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.01934, allocations: 1.229 MB / 0.8294 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.01946, allocations: 189.2 kB / 0.8296 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.01963, allocations: 84.52 kB / 0.8297 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.01978, allocations: 146.2 kB / 0.8298 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of SimCode: time 7.01e-07/0.01978, allocations: 3.938 kB / 0.8298 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of Templates: time 0.009621/0.0294, allocations: 5.995 MB / 0.8357 GB, free: 9.508 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.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.103447777219117]