Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.0008564/0.0008564, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001279/0.001279, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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.8968/0.8968, allocations: 177.1 MB / 203.5 MB, free: 5.691 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.733/1.733, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.046e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002582/0.002603, allocations: 2.155 MB / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.00413, allocations: 1.434 MB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/0.004225, allocations: 0 / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.004697, allocations: 187 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.004995, allocations: 175 kB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.005162, allocations: 115.5 kB / 0.9862 GB, free: 13.98 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.0054, allocations: 250.9 kB / 0.9864 GB, free: 13.73 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.005516, allocations: 28.58 kB / 0.9864 GB, free: 13.71 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.005638, allocations: 127.6 kB / 0.9866 GB, free: 13.58 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.005755, allocations: 79.78 kB / 0.9866 GB, free: 13.5 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.005776, allocations: 12 kB / 0.9866 GB, free: 13.49 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.00588, allocations: 67.72 kB / 0.9867 GB, free: 13.43 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.005964, allocations: 91.69 kB / 0.9868 GB, free: 13.34 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.006039, allocations: 75.66 kB / 0.9869 GB, free: 13.26 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.006371, allocations: 350.7 kB / 0.9872 GB, free: 12.92 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.006373, allocations: 4 kB / 0.9872 GB, free: 12.91 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.006374, allocations: 0 / 0.9872 GB, free: 12.91 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.006379, allocations: 0 / 0.9872 GB, free: 12.91 MB / 0.948 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.00067/0.007049, allocations: 0.6242 MB / 0.9878 GB, free: 12.26 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.007083, allocations: 8.031 kB / 0.9878 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.007144, allocations: 52.55 kB / 0.9879 GB, free: 12.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.007454, allocations: 298.2 kB / 0.9882 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.007468, allocations: 4.375 kB / 0.9882 GB, free: 11.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.007483, allocations: 12.36 kB / 0.9882 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.007637, allocations: 111.6 kB / 0.9883 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.007645, allocations: 0 / 0.9883 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.007655, allocations: 0 / 0.9883 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.00766, allocations: 4 kB / 0.9883 GB, free: 11.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.969e-05/0.00773, allocations: 43.91 kB / 0.9883 GB, free: 11.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.008175, allocations: 384.3 kB / 0.9887 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.008306, allocations: 70.61 kB / 0.9888 GB, free: 11.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.008344, allocations: 20.84 kB / 0.9888 GB, free: 11.19 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.008362, allocations: 8 kB / 0.9888 GB, free: 11.18 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.008486, allocations: 97.09 kB / 0.9889 GB, free: 11.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.008488, allocations: 0 / 0.9889 GB, free: 11.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002419/0.00873, allocations: 153.4 kB / 0.989 GB, free: 10.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.00876, allocations: 55.34 kB / 0.9891 GB, free: 10.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.00914, allocations: 0.5496 MB / 0.9896 GB, free: 10.28 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.009155, allocations: 25.7 kB / 0.9896 GB, free: 10.25 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.009286, allocations: 232 kB / 0.9899 GB, free: 10.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.009306, allocations: 15.91 kB / 0.9899 GB, free: 10 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.009361, allocations: 41.7 kB / 0.9899 GB, free: 9.957 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.009464, allocations: 366.7 kB / 0.9903 GB, free: 9.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.908e-05/0.009533, allocations: 51.97 kB / 0.9903 GB, free: 9.539 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.921e-05/0.009622, allocations: 108.2 kB / 0.9904 GB, free: 9.418 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.009722, allocations: 85.64 kB / 0.9905 GB, free: 9.328 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.009724, allocations: 0 / 0.9905 GB, free: 9.328 MB / 0.948 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001921/0.009916, allocations: 205.3 kB / 0.9907 GB, free: 9.121 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.009929, allocations: 6.656 kB / 0.9907 GB, free: 9.117 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.009935, allocations: 4 kB / 0.9907 GB, free: 9.113 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.009947, allocations: 4.062 kB / 0.9907 GB, free: 9.109 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.01002, allocations: 23.92 kB / 0.9907 GB, free: 9.086 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01003, allocations: 7.938 kB / 0.9907 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.164e-05/0.01009, allocations: 7.984 kB / 0.9907 GB, free: 9.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.01011, allocations: 8 kB / 0.9908 GB, free: 9.062 MB / 0.948 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.0001267/0.01023, allocations: 183.8 kB / 0.9909 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.01026, allocations: 47.7 kB / 0.991 GB, free: 8.828 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.0105, allocations: 145.8 kB / 0.9911 GB, free: 8.68 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.0105, allocations: 0 / 0.9911 GB, free: 8.68 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01051, allocations: 8 kB / 0.9911 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.01051, allocations: 0 / 0.9911 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.01066, allocations: 241.1 kB / 0.9914 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01066, allocations: 0 / 0.9914 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.01068, allocations: 7.984 kB / 0.9914 GB, free: 8.398 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01068, allocations: 0 / 0.9914 GB, free: 8.398 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01069, allocations: 8 kB / 0.9914 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01069, allocations: 0 / 0.9914 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01069, allocations: 0 / 0.9914 GB, free: 8.391 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.01083, allocations: 160.8 kB / 0.9915 GB, free: 8.215 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.01087, allocations: 51.7 kB / 0.9916 GB, free: 8.164 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.0109, allocations: 0 / 0.9916 GB, free: 8.164 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.084e-05/0.01094, allocations: 7.984 kB / 0.9916 GB, free: 8.156 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.01098, allocations: 19.91 kB / 0.9916 GB, free: 8.137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.01098, allocations: 4 kB / 0.9916 GB, free: 8.133 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000255/0.01124, allocations: 366.8 kB / 0.9919 GB, free: 7.777 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01124, allocations: 0 / 0.9919 GB, free: 7.777 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001743/0.01141, allocations: 55.88 kB / 0.992 GB, free: 7.723 MB / 0.948 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0007049/0.01212, allocations: 444.9 kB / 0.9924 GB, free: 7.465 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000173/0.01229, allocations: 91.89 kB / 0.9925 GB, free: 7.375 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01229, allocations: 0 / 0.9925 GB, free: 7.375 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.01234, allocations: 31.98 kB / 0.9925 GB, free: 7.344 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.01256, allocations: 68.38 kB / 0.9926 GB, free: 7.285 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.01325, allocations: 0.6865 MB / 0.9933 GB, free: 6.566 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.01337, allocations: 212.4 kB / 0.9935 GB, free: 6.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.01342, allocations: 24.48 kB / 0.9935 GB, free: 6.316 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.01342, allocations: 0 / 0.9935 GB, free: 6.316 MB / 0.948 GB Notification: Performance of Templates: time 0.004149/0.01757, allocations: 4.413 MB / 0.9978 GB, free: 1.93 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.004135244525969]