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.001729/0.001729, allocations: 112.3 kB / 17.13 MB, free: 6.008 MB / 14.72 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.002066/0.002066, allocations: 212.7 kB / 20.1 MB, free: 3.055 MB / 14.72 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 1.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.879/2.879, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 73.94 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9963/0.9984, allocations: 176.1 MB / 1.322 GB, free: 25.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003267/1.002, allocations: 2.482 MB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007718/1.002, allocations: 0.552 MB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/1.003, allocations: 2.938 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003373/1.003, allocations: 122.4 kB / 1.325 GB, free: 23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/1.003, allocations: 95.17 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/1.003, allocations: 39.55 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002073/1.003, allocations: 248.2 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/1.004, allocations: 81.81 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/1.004, allocations: 81.78 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/1.004, allocations: 103.9 kB / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/1.004, allocations: 17.66 kB / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.595e-05/1.004, allocations: 19.56 kB / 1.326 GB, free: 22.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/1.004, allocations: 81.7 kB / 1.326 GB, free: 22.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/1.004, allocations: 155 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002931/1.004, allocations: 347.8 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.004, allocations: 3.938 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/1.004, allocations: 4 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.004, allocations: 0 / 1.326 GB, free: 22.34 MB / 1.061 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.0007273/1.005, allocations: 0.653 MB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/1.005, allocations: 15.58 kB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/1.005, allocations: 45.03 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/1.005, allocations: 306.9 kB / 1.327 GB, free: 21.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/1.005, allocations: 18.88 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/1.005, allocations: 13.84 kB / 1.327 GB, free: 21.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/1.006, allocations: 140.4 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/1.006, allocations: 1.031 kB / 1.327 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/1.006, allocations: 12.75 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.006, allocations: 4.688 kB / 1.327 GB, free: 21.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/1.006, allocations: 90.22 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/1.007, allocations: 0.5946 MB / 1.328 GB, free: 20.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/1.007, allocations: 91.44 kB / 1.328 GB, free: 20.85 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/1.007, allocations: 43.09 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/1.007, allocations: 0.8125 kB / 1.328 GB, free: 20.83 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/1.007, allocations: 36.59 kB / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/1.007, allocations: 0 / 1.328 GB, free: 20.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003672/1.008, allocations: 144.4 kB / 1.328 GB, free: 20.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/1.008, allocations: 56.47 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/1.008, allocations: 388 kB / 1.329 GB, free: 20.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/1.008, allocations: 26.48 kB / 1.329 GB, free: 20.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/1.008, allocations: 215.8 kB / 1.329 GB, free: 20.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/1.008, allocations: 39.06 kB / 1.329 GB, free: 20.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/1.008, allocations: 28.31 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.937e-05/1.008, allocations: 349.3 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/1.008, allocations: 28.75 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.312e-05/1.008, allocations: 48.91 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/1.009, allocations: 100.5 kB / 1.33 GB, free: 19.74 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.009, allocations: 0.5 kB / 1.33 GB, free: 19.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002895/1.009, allocations: 145.1 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/1.009, allocations: 6.281 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.009, allocations: 1 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.009, allocations: 5.719 kB / 1.33 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/1.009, allocations: 30.86 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.009, allocations: 1.781 kB / 1.33 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/1.009, allocations: 11.05 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.009, allocations: 3.719 kB / 1.33 GB, free: 19.64 MB / 1.061 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.0001279/1.009, allocations: 170.3 kB / 1.33 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/1.009, allocations: 35.02 kB / 1.33 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.398e-05/1.009, allocations: 41.08 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/1.009, allocations: 5.219 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.009, allocations: 0.5938 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.009, allocations: 4.719 kB / 1.33 GB, free: 19.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/1.01, allocations: 313.2 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.01, allocations: 0 / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/1.01, allocations: 18.75 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/1.01, allocations: 1.5 kB / 1.33 GB, free: 19.21 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/1.01, allocations: 5.125 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.01, allocations: 0 / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.01, allocations: 0.9062 kB / 1.33 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/1.01, allocations: 259.9 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-05/1.01, allocations: 113.7 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/1.01, allocations: 4.875 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/1.01, allocations: 1.844 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.625e-05/1.01, allocations: 5.984 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/1.01, allocations: 1.906 kB / 1.331 GB, free: 18.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002586/1.011, allocations: 283.2 kB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.011, allocations: 4 kB / 1.331 GB, free: 18.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003/1.011, allocations: 50.17 kB / 1.331 GB, free: 18.73 MB / 1.061 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.0001156/1.011, allocations: 105.8 kB / 1.331 GB, free: 18.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000221/1.011, allocations: 66.31 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/1.011, allocations: 0 / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/1.011, allocations: 34.38 kB / 1.331 GB, free: 18.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/1.012, allocations: 28.53 kB / 1.331 GB, free: 18.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.013, allocations: 0.7138 MB / 1.332 GB, free: 18.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/1.013, allocations: 0.7984 MB / 1.333 GB, free: 17.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/1.013, allocations: 18.16 kB / 1.333 GB, free: 17.43 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/1.013, allocations: 0 / 1.333 GB, free: 17.43 MB / 1.061 GB Notification: Performance of Templates: time 0.006626/1.02, allocations: 2.997 MB / 1.336 GB, free: 16.8 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.74322669400135]