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.0009155/0.0009155, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001978/0.001978, allocations: 185 kB / 24.09 MB, free: 416 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.9227/0.9227, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.845/1.845, allocations: 377.9 MB / 0.624 GB, free: 8.43 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.433e-06/1.433e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.382e-05, allocations: 2.312 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003805/0.003829, allocations: 2.658 MB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.006055, allocations: 1.05 MB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.00634, allocations: 4 kB / 0.8157 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.006936, allocations: 199.2 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.00712, allocations: 101 kB / 0.8159 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.007563, allocations: 195.5 kB / 0.8161 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.007888, allocations: 411.6 kB / 0.8165 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002151/0.008103, allocations: 139.5 kB / 0.8167 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002149/0.008318, allocations: 239.4 kB / 0.8169 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.008435, allocations: 125.5 kB / 0.817 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.271e-05/0.008478, allocations: 36 kB / 0.817 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.0087, allocations: 159.8 kB / 0.8172 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.008852, allocations: 263.2 kB / 0.8174 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.008965, allocations: 187.3 kB / 0.8176 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.009475, allocations: 0.5973 MB / 0.8182 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.009478, allocations: 0 / 0.8182 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.463e-06/0.00948, allocations: 0 / 0.8182 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.009489, allocations: 3.984 kB / 0.8182 GB, free: 11.14 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.0009634/0.01045, allocations: 1.198 MB / 0.8194 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.01049, allocations: 8.031 kB / 0.8194 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005184/0.01101, allocations: 224 kB / 0.8196 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.01144, allocations: 484.6 kB / 0.8201 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.01146, allocations: 29.59 kB / 0.8201 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.0115, allocations: 28.91 kB / 0.8201 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003499/0.01185, allocations: 259.8 kB / 0.8204 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.01186, allocations: 192 / 0.8204 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.01188, allocations: 16.38 kB / 0.8204 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.01189, allocations: 9.219 kB / 0.8204 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.01202, allocations: 115.7 kB / 0.8205 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.01374, allocations: 1.127 MB / 0.8216 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.01397, allocations: 127 kB / 0.8217 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.01402, allocations: 35.67 kB / 0.8218 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.01405, allocations: 11.92 kB / 0.8218 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.01408, allocations: 45.39 kB / 0.8218 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.01408, allocations: 0 / 0.8218 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003056/0.01439, allocations: 213 kB / 0.822 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.01442, allocations: 59.39 kB / 0.8221 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006108/0.01503, allocations: 0.9267 MB / 0.823 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.01506, allocations: 33.7 kB / 0.823 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.01535, allocations: 0.5067 MB / 0.8235 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.01539, allocations: 75.39 kB / 0.8236 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.629e-05/0.01545, allocations: 59.3 kB / 0.8236 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.01557, allocations: 496.3 kB / 0.8241 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.01563, allocations: 31.97 kB / 0.8241 GB, free: 4.871 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.01571, allocations: 90.08 kB / 0.8242 GB, free: 4.758 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.01585, allocations: 145.9 kB / 0.8244 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.01585, allocations: 0 / 0.8244 GB, free: 4.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002974/0.01615, allocations: 255.7 kB / 0.8246 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01617, allocations: 4 kB / 0.8246 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.01618, allocations: 7.984 kB / 0.8246 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.01619, allocations: 0 / 0.8246 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.01635, allocations: 55.91 kB / 0.8247 GB, free: 4.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.01636, allocations: 4 kB / 0.8247 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.01646, allocations: 28 kB / 0.8247 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01648, allocations: 15.92 kB / 0.8247 GB, free: 4.223 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.0001448/0.01662, allocations: 172.5 kB / 0.8249 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.0167, allocations: 87.44 kB / 0.825 GB, free: 3.957 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.01696, allocations: 203.4 kB / 0.8252 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.01697, allocations: 4 kB / 0.8252 GB, free: 3.746 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01697, allocations: 4 kB / 0.8252 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01697, allocations: 0 / 0.8252 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007233/0.0177, allocations: 0.7211 MB / 0.8259 GB, free: 2.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.0177, allocations: 4 kB / 0.8259 GB, free: 2.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.01781, allocations: 44.11 kB / 0.8259 GB, free: 2.914 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01782, allocations: 4 kB / 0.8259 GB, free: 2.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.01784, allocations: 11.98 kB / 0.8259 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.01784, allocations: 3.938 kB / 0.8259 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01784, allocations: 4 kB / 0.8259 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.01814, allocations: 401.5 kB / 0.8263 GB, free: 2.453 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.01828, allocations: 123.3 kB / 0.8264 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.01832, allocations: 8 kB / 0.8264 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.01843, allocations: 7.938 kB / 0.8265 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.01847, allocations: 19.97 kB / 0.8265 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.01848, allocations: 7.984 kB / 0.8265 GB, free: 2.289 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003483/0.01883, allocations: 0.5504 MB / 0.827 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01883, allocations: 0 / 0.827 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002957/0.01912, allocations: 99.78 kB / 0.8271 GB, free: 1.629 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.0001702/0.01929, allocations: 127.1 kB / 0.8272 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.01948, allocations: 120.5 kB / 0.8273 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01948, allocations: 0 / 0.8273 GB, free: 1.375 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.929e-05/0.01955, allocations: 64.2 kB / 0.8274 GB, free: 1.309 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.01987, allocations: 67.38 kB / 0.8275 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.02162, allocations: 1.225 MB / 0.8287 GB, free: 15.96 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.02175, allocations: 193.2 kB / 0.8289 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000173/0.02192, allocations: 88.52 kB / 0.8289 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.02209, allocations: 138.2 kB / 0.8291 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of SimCode: time 8.42e-07/0.02209, allocations: 0 / 0.8291 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of Templates: time 0.01005/0.03214, allocations: 5.888 MB / 0.8348 GB, free: 9.754 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.022216586861759]