Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.001023/0.001023, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002441, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009545/0.0009545, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002165, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9642/0.9642, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0916/1.056, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.816/1.816, allocations: 378.2 MB / 0.6076 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5298/2.346, allocations: 123.3 MB / 0.728 GB, free: 5.801 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.7293 GB, free: 4.492 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.355e-05, allocations: 4.844 kB / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00294/0.002953, allocations: 2.549 MB / 0.7318 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.003812, allocations: 0.5488 MB / 0.7324 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.003909, allocations: 5.641 kB / 0.7324 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.004193, allocations: 124.7 kB / 0.7325 GB, free: 1.309 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.004323, allocations: 95.55 kB / 0.7326 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.315e-05/0.004416, allocations: 36.53 kB / 0.7326 GB, free: 1.184 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.004861, allocations: 260.1 kB / 0.7329 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.005025, allocations: 86.73 kB / 0.733 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.005226, allocations: 177.3 kB / 0.7331 GB, free: 0.668 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.005346, allocations: 63.81 kB / 0.7332 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.407e-05/0.005381, allocations: 21.16 kB / 0.7332 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.599e-05/0.005406, allocations: 20 kB / 0.7332 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.17e-05/0.005478, allocations: 71.72 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.689e-05/0.005555, allocations: 76.53 kB / 0.7334 GB, free: 432 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.005788, allocations: 191.1 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.005802, allocations: 0.9688 kB / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005803, allocations: 0 / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.005819, allocations: 0 / 0.7336 GB, free: 240 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006599/0.006479, allocations: 0.613 MB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.00652, allocations: 8.031 kB / 0.7342 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.006578, allocations: 41.58 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.006794, allocations: 220 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.006815, allocations: 14.16 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.006844, allocations: 20.36 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.007002, allocations: 110.6 kB / 0.7345 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.007013, allocations: 4.172 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.007026, allocations: 9.562 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.007036, allocations: 8.125 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.007103, allocations: 29.55 kB / 0.7346 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.007591, allocations: 337.7 kB / 0.7349 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.007725, allocations: 50.53 kB / 0.735 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.007755, allocations: 21.55 kB / 0.735 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.007765, allocations: 4 kB / 0.735 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.007788, allocations: 39.27 kB / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.007789, allocations: 0 / 0.735 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001587/0.007948, allocations: 78.27 kB / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.007982, allocations: 57.34 kB / 0.7352 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.00818, allocations: 331.3 kB / 0.7355 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.008193, allocations: 29.7 kB / 0.7355 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.959e-05/0.008272, allocations: 165.2 kB / 0.7357 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.008299, allocations: 27.73 kB / 0.7357 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.008334, allocations: 31.02 kB / 0.7357 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.008447, allocations: 350.7 kB / 0.736 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.008464, allocations: 8 kB / 0.7361 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.0085, allocations: 35.42 kB / 0.7361 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.298e-05/0.008563, allocations: 61.03 kB / 0.7361 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.008566, allocations: 0.5625 kB / 0.7361 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001047/0.008671, allocations: 95.59 kB / 0.7362 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.008686, allocations: 4 kB / 0.7362 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.008692, allocations: 0 / 0.7362 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.008703, allocations: 4 kB / 0.7362 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.008839, allocations: 34.72 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.008845, allocations: 3.938 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.008881, allocations: 7.953 kB / 0.7363 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.008889, allocations: 4 kB / 0.7363 GB, free: 13.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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 7.976e-05/0.008969, allocations: 112.7 kB / 0.7364 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.008998, allocations: 27.91 kB / 0.7364 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.403e-05/0.009052, allocations: 35.27 kB / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.009054, allocations: 1.531 kB / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.009058, allocations: 0 / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.009063, allocations: 4 kB / 0.7365 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.00922, allocations: 149.7 kB / 0.7366 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.009222, allocations: 4.438 kB / 0.7366 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.009312, allocations: 23.2 kB / 0.7366 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.009355, allocations: 39.7 kB / 0.7367 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009357, allocations: 3.938 kB / 0.7367 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.009365, allocations: 0 / 0.7367 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.009367, allocations: 3.984 kB / 0.7367 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.009368, allocations: 0 / 0.7367 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.009527, allocations: 179.4 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.009545, allocations: 4 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.484e-05/0.00959, allocations: 2.438 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.00962, allocations: 3.984 kB / 0.7369 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.009626, allocations: 8 kB / 0.7369 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001002/0.009726, allocations: 136.7 kB / 0.737 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.009726, allocations: 0 / 0.737 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001614/0.009888, allocations: 47.84 kB / 0.737 GB, free: 12.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (8): * Single equations (assignments): 8 * 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 8.096e-05/0.009969, allocations: 81.45 kB / 0.7371 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.01007, allocations: 49.7 kB / 0.7372 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/0.01008, allocations: 4 kB / 0.7372 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.451e-05/0.01011, allocations: 21.94 kB / 0.7372 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.01032, allocations: 45.19 kB / 0.7372 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.01247, allocations: 0.5933 MB / 0.7378 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.953e-05/0.01254, allocations: 103.3 kB / 0.7379 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.77e-05/0.01259, allocations: 15.67 kB / 0.7379 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.86e-05/0.01266, allocations: 71.36 kB / 0.738 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.01266, allocations: 0 / 0.738 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of Templates: time 0.004116/0.01677, allocations: 1.235 MB / 0.7392 GB, free: 10.29 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.ref.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.9607663517817855]