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.001026/0.001026, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001502/0.001502, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.9045/0.9045, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.824/1.824, allocations: 377.8 MB / 0.6236 GB, free: 8.531 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.342e-06/1.342e-06, allocations: 0.9844 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.119e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003092/0.003114, allocations: 2.696 MB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.004659, allocations: 1.069 MB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.004835, allocations: 9.312 kB / 0.8152 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005621/0.005397, allocations: 198.7 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.005555, allocations: 97.12 kB / 0.8155 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.006056, allocations: 191.6 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.006453, allocations: 411.6 kB / 0.8161 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.006681, allocations: 146.3 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.0069, allocations: 236.7 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.007018, allocations: 119.5 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.89e-05/0.007057, allocations: 36.53 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002474/0.007304, allocations: 169.3 kB / 0.8168 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.007461, allocations: 259.2 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.007581, allocations: 191.3 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007879/0.008369, allocations: 0.5912 MB / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.008371, allocations: 4 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.008372, allocations: 0.5312 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.008381, allocations: 1.031 kB / 0.8178 GB, free: 11.32 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.001064/0.009445, allocations: 1.191 MB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.009485, allocations: 9.031 kB / 0.819 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.01005, allocations: 235.4 kB / 0.8192 GB, free: 9.855 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.01054, allocations: 0.4967 MB / 0.8197 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.01056, allocations: 31.12 kB / 0.8197 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.01059, allocations: 28.38 kB / 0.8197 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.011, allocations: 283.2 kB / 0.82 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.01101, allocations: 4.125 kB / 0.82 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.01104, allocations: 12.38 kB / 0.82 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/0.01105, allocations: 8.375 kB / 0.82 GB, free: 8.945 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.01127, allocations: 145.4 kB / 0.8202 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.013, allocations: 1.296 MB / 0.8214 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.01329, allocations: 141.6 kB / 0.8216 GB, free: 7.348 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.536e-05/0.01336, allocations: 47.75 kB / 0.8216 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.01339, allocations: 4 kB / 0.8216 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.01342, allocations: 37.39 kB / 0.8217 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.01342, allocations: 4 kB / 0.8217 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.0003719/0.01379, allocations: 235.3 kB / 0.8219 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.01382, allocations: 55.41 kB / 0.8219 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.01459, allocations: 0.9619 MB / 0.8229 GB, free: 5.953 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.01461, allocations: 29.7 kB / 0.8229 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.01489, allocations: 0.5107 MB / 0.8234 GB, free: 5.398 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/0.01494, allocations: 71.73 kB / 0.8235 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.359e-05/0.01501, allocations: 59.3 kB / 0.8235 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01513, allocations: 496.4 kB / 0.824 GB, free: 4.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.216e-05/0.01521, allocations: 43.97 kB / 0.824 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.01531, allocations: 110 kB / 0.8241 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004284/0.01574, allocations: 148.9 kB / 0.8243 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01574, allocations: 0 / 0.8243 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000297/0.01604, allocations: 268.9 kB / 0.8245 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.01605, allocations: 8 kB / 0.8245 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01606, allocations: 0 / 0.8245 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.01607, allocations: 7.938 kB / 0.8246 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.01622, allocations: 51.97 kB / 0.8246 GB, free: 4.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.01623, allocations: 3.938 kB / 0.8246 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.01634, allocations: 35.89 kB / 0.8246 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.01635, allocations: 7.938 kB / 0.8247 GB, free: 4.043 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.0001143/0.01647, allocations: 168.6 kB / 0.8248 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.01654, allocations: 91.44 kB / 0.8249 GB, free: 3.777 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.01682, allocations: 217.5 kB / 0.8251 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.01682, allocations: 0 / 0.8251 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.01683, allocations: 0 / 0.8251 GB, free: 3.555 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01683, allocations: 4 kB / 0.8251 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007732/0.0176, allocations: 0.8732 MB / 0.826 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01761, allocations: 3.984 kB / 0.826 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.01771, allocations: 40.17 kB / 0.826 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.01772, allocations: 7.938 kB / 0.826 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.01773, allocations: 11.98 kB / 0.826 GB, free: 2.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.01774, allocations: 4 kB / 0.826 GB, free: 2.543 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01774, allocations: 3.938 kB / 0.826 GB, free: 2.539 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.01802, allocations: 408.3 kB / 0.8264 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.01815, allocations: 131.3 kB / 0.8265 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.01819, allocations: 11.94 kB / 0.8266 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.0183, allocations: 12 kB / 0.8266 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.01835, allocations: 19.91 kB / 0.8266 GB, free: 1.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.01836, allocations: 11.98 kB / 0.8266 GB, free: 1.914 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004624/0.01882, allocations: 0.5974 MB / 0.8272 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01882, allocations: 0 / 0.8272 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002889/0.01911, allocations: 103.8 kB / 0.8273 GB, free: 1.203 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.0001685/0.01928, allocations: 131 kB / 0.8274 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.01952, allocations: 127.5 kB / 0.8275 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01952, allocations: 0 / 0.8275 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/0.0196, allocations: 68.22 kB / 0.8276 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.01992, allocations: 73.97 kB / 0.8277 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.02128, allocations: 1.225 MB / 0.8289 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.0214, allocations: 193.2 kB / 0.829 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.02156, allocations: 92.5 kB / 0.8291 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/0.02165, allocations: 40.5 kB / 0.8292 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of SimCode: time 5.91e-07/0.02165, allocations: 0 / 0.8292 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of Templates: time 0.009903/0.03155, allocations: 5.758 MB / 0.8348 GB, free: 9.449 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: 4.859481032937765]