Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 199.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.854/2.854, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.88 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7691/0.7711, allocations: 168.7 MB / 1.274 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00482/0.7759, allocations: 2.476 MB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.7769, allocations: 0.5468 MB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.777, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004045/0.7774, allocations: 123.5 kB / 1.277 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001563/0.7776, allocations: 91.28 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.7777, allocations: 47.89 kB / 1.277 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.778, allocations: 250.7 kB / 1.278 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001938/0.7782, allocations: 75.14 kB / 1.278 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.7783, allocations: 83.7 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.7785, allocations: 99.5 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.463e-05/0.7785, allocations: 20 kB / 1.278 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.754e-05/0.7785, allocations: 16 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.7787, allocations: 91.62 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001503/0.7788, allocations: 151 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003943/0.7792, allocations: 341.2 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7792, allocations: 0 / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of FrontEnd: time 4.94e-06/0.7792, allocations: 8.031 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.7792, allocations: 0 / 1.278 GB, free: 15.99 MB / 0.9825 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.0009512/0.7802, allocations: 0.6532 MB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.7802, allocations: 12.02 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.7803, allocations: 48.59 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.7807, allocations: 310.5 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.7807, allocations: 12.38 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.7807, allocations: 12.38 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003095/0.7811, allocations: 141.9 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.7811, allocations: 192 / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.7811, allocations: 11.92 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.7811, allocations: 4 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.7813, allocations: 95.95 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000858/0.7822, allocations: 0.5859 MB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.7824, allocations: 82.61 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.7825, allocations: 40.89 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.7826, allocations: 0 / 1.28 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.7826, allocations: 46.5 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 8.81e-07/0.7826, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003667/0.783, allocations: 145.4 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.783, allocations: 51.41 kB / 1.281 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.7834, allocations: 390 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.7834, allocations: 33.7 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.7836, allocations: 212.2 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.7836, allocations: 39.72 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.7837, allocations: 29.67 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.7838, allocations: 354.7 kB / 1.282 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.7839, allocations: 23.98 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.784, allocations: 51.42 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.7842, allocations: 95.67 kB / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.7842, allocations: 0 / 1.282 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002592/0.7845, allocations: 145.3 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7845, allocations: 13.39 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7845, allocations: 0 / 1.282 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7845, allocations: 8.094 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.7846, allocations: 27.94 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7846, allocations: 7.984 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.7847, allocations: 4 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.7847, allocations: 4 kB / 1.282 GB, free: 12.1 MB / 0.9825 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 (13): * Single equations (assignments): 13 * 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.0001672/0.7849, allocations: 163.2 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.599e-05/0.7849, allocations: 39.7 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.785, allocations: 43.2 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.785, allocations: 4 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.785, allocations: 0 / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.785, allocations: 0 / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.7854, allocations: 313.4 kB / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7854, allocations: 0 / 1.282 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.7855, allocations: 27.92 kB / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.7855, allocations: 0 / 1.282 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7855, allocations: 7.938 kB / 1.282 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.7855, allocations: 0 / 1.282 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7855, allocations: 0 / 1.282 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.7859, allocations: 263.2 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.786, allocations: 108.9 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.786, allocations: 0 / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.7861, allocations: 8.172 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.7861, allocations: 4 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-06/0.7861, allocations: 7.938 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002808/0.7864, allocations: 275.1 kB / 1.283 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7864, allocations: 4.062 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002806/0.7867, allocations: 51.83 kB / 1.283 GB, free: 10.72 MB / 0.9825 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 (9): * Single equations (assignments): 9 * 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.0001308/0.7868, allocations: 99.25 kB / 1.283 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.7871, allocations: 71.84 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7871, allocations: 4 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.7872, allocations: 27.98 kB / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.7875, allocations: 29.72 kB / 1.283 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.7886, allocations: 0.6756 MB / 1.284 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.7891, allocations: 0.802 MB / 1.285 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.017e-05/0.7891, allocations: 12.64 kB / 1.285 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.7892, allocations: 15.44 kB / 1.285 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.7892, allocations: 0 / 1.285 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of Templates: time 0.005018/0.7942, allocations: 1.317 MB / 1.286 GB, free: 7.621 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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: 8.649525681044906]