Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008209/0.0008209, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007971/0.0007971, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.9038/0.9038, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.853/1.853, allocations: 389 MB / 0.6338 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.642e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003207/0.003233, allocations: 2.559 MB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.004889, allocations: 1.011 MB / 1.004 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.005041, allocations: 8 kB / 1.004 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.00553, allocations: 202.8 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.00566, allocations: 91.23 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.006032, allocations: 179.7 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.006329, allocations: 415.6 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.006549, allocations: 150.3 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.006708, allocations: 223.4 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.006821, allocations: 135.5 kB / 1.006 GB, free: 7.984 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.006859, allocations: 40 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.007056, allocations: 159.7 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.007199, allocations: 263.2 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.007309, allocations: 199.3 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.007941, allocations: 0.9536 MB / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.007943, allocations: 0 / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007945, allocations: 0 / 1.007 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.007952, allocations: 4 kB / 1.007 GB, free: 6.375 MB / 0.9636 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.000961/0.008913, allocations: 1.067 MB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.008947, allocations: 8.75 kB / 1.008 GB, free: 5.258 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006382/0.009585, allocations: 247.9 kB / 1.009 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007571/0.01034, allocations: 0.6703 MB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.01036, allocations: 21.03 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/0.01039, allocations: 32.38 kB / 1.009 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/0.01088, allocations: 408.2 kB / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01089, allocations: 192 / 1.01 GB, free: 3.844 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.01091, allocations: 12.38 kB / 1.01 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.01092, allocations: 12.12 kB / 1.01 GB, free: 3.82 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005313/0.01145, allocations: 418.4 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.0134, allocations: 1.413 MB / 1.011 GB, free: 1.965 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003919/0.01379, allocations: 198.9 kB / 1.012 GB, free: 1.762 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.01394, allocations: 95.05 kB / 1.012 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.01397, allocations: 11.98 kB / 1.012 GB, free: 1.656 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.851e-05/0.01399, allocations: 34.5 kB / 1.012 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.192e-06/0.01399, allocations: 4 kB / 1.012 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0006003/0.01459, allocations: 372.9 kB / 1.012 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.01462, allocations: 55.41 kB / 1.012 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.01551, allocations: 1.214 MB / 1.013 GB, free: 15.93 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.01553, allocations: 33.64 kB / 1.013 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.01576, allocations: 440.3 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.0158, allocations: 67.44 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.127e-05/0.01586, allocations: 45.7 kB / 1.014 GB, free: 15.34 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.038e-05/0.01593, allocations: 321.9 kB / 1.014 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.01612, allocations: 151.9 kB / 1.014 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.01633, allocations: 231.5 kB / 1.015 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.01668, allocations: 282.9 kB / 1.015 GB, free: 14.33 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01669, allocations: 4 kB / 1.015 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000492/0.01718, allocations: 471 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.01719, allocations: 4 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.0172, allocations: 4 kB / 1.015 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01721, allocations: 0 / 1.015 GB, free: 13.85 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.01736, allocations: 59.89 kB / 1.015 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01737, allocations: 4 kB / 1.015 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.0175, allocations: 39.75 kB / 1.015 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01751, allocations: 12 kB / 1.015 GB, free: 13.74 MB / 0.9792 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.0002006/0.01771, allocations: 269.7 kB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.01777, allocations: 87.39 kB / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004686/0.01824, allocations: 323.2 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01825, allocations: 4 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.01825, allocations: 0 / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.01826, allocations: 3.938 kB / 1.016 GB, free: 13.05 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008792/0.01913, allocations: 0.8457 MB / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.01914, allocations: 4 kB / 1.017 GB, free: 12.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/0.01926, allocations: 47.91 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01926, allocations: 3.938 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.01927, allocations: 4 kB / 1.017 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01928, allocations: 4 kB / 1.017 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01928, allocations: 3.984 kB / 1.017 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.01969, allocations: 442.8 kB / 1.017 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.01984, allocations: 135.3 kB / 1.018 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.01988, allocations: 12 kB / 1.018 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.02, allocations: 19.97 kB / 1.018 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.02005, allocations: 11.98 kB / 1.018 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.02006, allocations: 11.98 kB / 1.018 GB, free: 11.43 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0006764/0.02074, allocations: 0.8825 MB / 1.019 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9e-08/0.02074, allocations: 0 / 1.019 GB, free: 10.53 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002634/0.021, allocations: 107.7 kB / 1.019 GB, free: 10.43 MB / 0.9792 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.000164/0.02116, allocations: 127.1 kB / 1.019 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004345/0.0216, allocations: 265.8 kB / 1.019 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.0216, allocations: 4 kB / 1.019 GB, free: 10.03 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.02176, allocations: 99.77 kB / 1.019 GB, free: 9.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.02209, allocations: 72 kB / 1.019 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.02347, allocations: 1.429 MB / 1.021 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.02373, allocations: 403.6 kB / 1.021 GB, free: 7.953 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.02384, allocations: 44.48 kB / 1.021 GB, free: 7.91 MB / 0.9792 GB Notification: Performance of SimCode: time 6.92e-07/0.02384, allocations: 4 kB / 1.021 GB, free: 7.906 MB / 0.9792 GB Notification: Performance of Templates: time 0.007451/0.03129, allocations: 9.213 MB / 1.03 GB, free: 14.7 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.293445933610201]