Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.001413/0.001413, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001517/0.001517, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.497/1.497, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.711/2.711, allocations: 443.5 MB / 0.7293 GB, free: 14.48 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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.89 kB / 1.057 GB, free: 1.945 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3112, allocations: 160.7 MB / 1.214 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00398/0.3152, allocations: 2.205 MB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.3175, allocations: 1.385 MB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3176, allocations: 7.875 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006418/0.3182, allocations: 187.1 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003255/0.3186, allocations: 131.4 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.319, allocations: 151.5 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.3193, allocations: 223.1 kB / 1.218 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3194, allocations: 36.38 kB / 1.218 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.3196, allocations: 99.52 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.3198, allocations: 103.5 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/0.3198, allocations: 8 kB / 1.218 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.32, allocations: 55.91 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3201, allocations: 87.67 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.3202, allocations: 134.9 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.3207, allocations: 374.2 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3207, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3207, allocations: 0 / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.3207, allocations: 0 / 1.219 GB, free: 11.73 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001113/0.3218, allocations: 0.6879 MB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3219, allocations: 8.031 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/0.322, allocations: 52.59 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004782/0.3224, allocations: 352.8 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3225, allocations: 12.36 kB / 1.22 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.3225, allocations: 15.88 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.3227, allocations: 69.66 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3227, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3227, allocations: 0 / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3227, allocations: 4 kB / 1.22 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3228, allocations: 31.98 kB / 1.22 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007403/0.3236, allocations: 464.5 kB / 1.221 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.3238, allocations: 66.67 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.544e-05/0.3238, allocations: 16.86 kB / 1.221 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.3239, allocations: 7.984 kB / 1.221 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.3241, allocations: 79.33 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.3241, allocations: 112 / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0003801/0.3244, allocations: 145.3 kB / 1.221 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.3245, allocations: 59.34 kB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.3251, allocations: 0.5332 MB / 1.222 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.3252, allocations: 29.7 kB / 1.222 GB, free: 8.922 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.3253, allocations: 216 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.3254, allocations: 15.91 kB / 1.222 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.988e-05/0.3255, allocations: 45.7 kB / 1.222 GB, free: 8.641 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.3257, allocations: 358.8 kB / 1.222 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.3258, allocations: 51.92 kB / 1.222 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3259, allocations: 74.48 kB / 1.222 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3261, allocations: 89.62 kB / 1.222 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3261, allocations: 32 / 1.222 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003355/0.3264, allocations: 197.3 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.3264, allocations: 9.719 kB / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3264, allocations: 256 / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3265, allocations: 0 / 1.223 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.3266, allocations: 35.92 kB / 1.223 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3266, allocations: 0 / 1.223 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.3267, allocations: 15.89 kB / 1.223 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3268, allocations: 7.984 kB / 1.223 GB, free: 7.789 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002096/0.327, allocations: 185.8 kB / 1.223 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.327, allocations: 47.7 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.205e-05/0.3271, allocations: 47.8 kB / 1.223 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3271, allocations: 3.938 kB / 1.223 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3271, allocations: 0 / 1.223 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3271, allocations: 0 / 1.223 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.3274, allocations: 297.5 kB / 1.223 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3274, allocations: 0 / 1.223 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.871e-05/0.3275, allocations: 4 kB / 1.223 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3275, allocations: 0 / 1.223 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3275, allocations: 8 kB / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.3275, allocations: 7.938 kB / 1.223 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3275, allocations: 0 / 1.223 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.3277, allocations: 152.7 kB / 1.223 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3278, allocations: 120.8 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.3279, allocations: 0 / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.897e-05/0.328, allocations: 11.88 kB / 1.224 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.328, allocations: 15.98 kB / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.328, allocations: 7.984 kB / 1.224 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004106/0.3285, allocations: 362.8 kB / 1.224 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3285, allocations: 0 / 1.224 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002723/0.3287, allocations: 43.94 kB / 1.224 GB, free: 6.402 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001579/0.3303, allocations: 422.1 kB / 1.224 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3306, allocations: 87.91 kB / 1.224 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3306, allocations: 4 kB / 1.224 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.3307, allocations: 23.98 kB / 1.224 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.3311, allocations: 54.95 kB / 1.225 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3322, allocations: 0.6918 MB / 1.225 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.3327, allocations: 0.8177 MB / 1.226 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.3327, allocations: 23.44 kB / 1.226 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of SimCode: time 5.31e-07/0.3327, allocations: 0 / 1.226 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of Templates: time 0.007448/0.3402, allocations: 4.154 MB / 1.23 GB, free: 292 kB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.53955394984223]