Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001695/0.001695, allocations: 118.4 kB / 17.13 MB, free: 5.938 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.001977/0.001977, allocations: 197.2 kB / 20.08 MB, free: 3.004 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.592/1.592, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.89 kB / 1.057 GB, free: 1.98 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 160.7 MB / 1.214 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004385/0.357, allocations: 2.454 MB / 1.216 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.358, allocations: 0.547 MB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.603e-05/0.3581, allocations: 8 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004312/0.3585, allocations: 131.4 kB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.3587, allocations: 91.27 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.3588, allocations: 43.91 kB / 1.217 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000292/0.3591, allocations: 242.7 kB / 1.217 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.3593, allocations: 79.12 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.3595, allocations: 79.67 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.3596, allocations: 103.5 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.3597, allocations: 16 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 5.114e-05/0.3597, allocations: 20 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.3599, allocations: 87.61 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.36, allocations: 155 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004041/0.3604, allocations: 338.4 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3604, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3604, allocations: 3.938 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.3604, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 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.001026/0.3615, allocations: 0.6649 MB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3615, allocations: 12.03 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.3616, allocations: 44.66 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.362, allocations: 306.5 kB / 1.219 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.362, allocations: 8.375 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.646e-05/0.362, allocations: 16.38 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.3624, allocations: 145.9 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3624, allocations: 4.125 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.3624, allocations: 7.938 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3624, allocations: 4 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.3626, allocations: 87.95 kB / 1.22 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.3636, allocations: 0.5899 MB / 1.22 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.3638, allocations: 78.62 kB / 1.22 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3639, allocations: 44.88 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.364, allocations: 0 / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.364, allocations: 38.5 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.364, allocations: 3.938 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003815/0.3644, allocations: 149.4 kB / 1.22 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3644, allocations: 51.41 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.3649, allocations: 390 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.3649, allocations: 25.7 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3651, allocations: 220.2 kB / 1.221 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.3651, allocations: 31.75 kB / 1.221 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.152e-05/0.3652, allocations: 25.7 kB / 1.221 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.3653, allocations: 354.7 kB / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.3654, allocations: 27.98 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3655, allocations: 51.42 kB / 1.222 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.3657, allocations: 95.36 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3657, allocations: 0 / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002578/0.366, allocations: 145.3 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.366, allocations: 8 kB / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.366, allocations: 0 / 1.222 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.366, allocations: 3.938 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3661, allocations: 32.38 kB / 1.222 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.3661, allocations: 4 kB / 1.222 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.3662, allocations: 23.98 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3662, allocations: 0 / 1.222 GB, free: 8.656 MB / 0.9669 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.0001825/0.3664, allocations: 169.7 kB / 1.222 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.3665, allocations: 39.7 kB / 1.222 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/0.3666, allocations: 39.22 kB / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3666, allocations: 0 / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3666, allocations: 0 / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3666, allocations: 0 / 1.222 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003547/0.3669, allocations: 309.5 kB / 1.222 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3669, allocations: 4 kB / 1.222 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.367, allocations: 23.92 kB / 1.222 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.367, allocations: 0 / 1.222 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.3671, allocations: 0 / 1.222 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3671, allocations: 0 / 1.222 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3671, allocations: 4 kB / 1.222 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.3675, allocations: 259.1 kB / 1.223 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3676, allocations: 120.9 kB / 1.223 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.3676, allocations: 8 kB / 1.223 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.3677, allocations: 0 / 1.223 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.3677, allocations: 7.984 kB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.3677, allocations: 4 kB / 1.223 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002989/0.368, allocations: 279.1 kB / 1.223 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.368, allocations: 0 / 1.223 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002754/0.3683, allocations: 47.83 kB / 1.223 GB, free: 7.277 MB / 0.9669 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.0001512/0.3685, allocations: 103.2 kB / 1.223 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.3687, allocations: 71.84 kB / 1.223 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3687, allocations: 0 / 1.223 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-05/0.3688, allocations: 32.27 kB / 1.223 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.3692, allocations: 25.69 kB / 1.223 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3704, allocations: 0.7087 MB / 1.224 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.3709, allocations: 0.7981 MB / 1.225 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.3709, allocations: 15.44 kB / 1.225 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3709, allocations: 3.938 kB / 1.225 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of Templates: time 0.00543/0.3763, allocations: 3.003 MB / 1.228 GB, free: 2.484 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.056298610987142]