Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001003/0.001003, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009806/0.0009806, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9072/0.9072, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.71/1.71, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.[0-9,]+.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/2.013e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.002555/0.002576, allocations: 2.218 MB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.004155, allocations: 1.495 MB / 0.7907 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.00426, allocations: 7.938 kB / 0.7908 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.004731, allocations: 179.1 kB / 0.7909 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000298/0.005029, allocations: 177.2 kB / 0.7911 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.005206, allocations: 111.6 kB / 0.7912 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.005427, allocations: 250.9 kB / 0.7914 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.00554, allocations: 24.58 kB / 0.7915 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.005669, allocations: 132.1 kB / 0.7916 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.005789, allocations: 89.12 kB / 0.7917 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.005811, allocations: 12 kB / 0.7917 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.005912, allocations: 55.91 kB / 0.7917 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.005995, allocations: 96.25 kB / 0.7918 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.518e-05/0.00606, allocations: 63.72 kB / 0.7919 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.006337, allocations: 248.9 kB / 0.7921 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.006339, allocations: 0 / 0.7921 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.51e-07/0.00634, allocations: 0 / 0.7921 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.006346, allocations: 3.984 kB / 0.7921 GB, free: 7.672 MB / 0.7448 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.0006627/0.007009, allocations: 0.7358 MB / 0.7928 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.00704, allocations: 8.562 kB / 0.7929 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.007108, allocations: 53.33 kB / 0.7929 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.007382, allocations: 296.9 kB / 0.7932 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.007398, allocations: 5.75 kB / 0.7932 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.007412, allocations: 12.36 kB / 0.7932 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.007558, allocations: 104.4 kB / 0.7933 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.007565, allocations: 0.625 kB / 0.7933 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.007574, allocations: 0 / 0.7933 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.007582, allocations: 4.5 kB / 0.7933 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.00763, allocations: 20.95 kB / 0.7933 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004881/0.008118, allocations: 471.4 kB / 0.7938 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.008232, allocations: 52.08 kB / 0.7938 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.008266, allocations: 20.52 kB / 0.7939 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.008282, allocations: 7.938 kB / 0.7939 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.008398, allocations: 96.95 kB / 0.794 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.0084, allocations: 0 / 0.794 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002109/0.008611, allocations: 125.4 kB / 0.7941 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.008639, allocations: 51.41 kB / 0.7941 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003682/0.009007, allocations: 0.5339 MB / 0.7946 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.009025, allocations: 36.36 kB / 0.7947 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.009165, allocations: 286.8 kB / 0.7949 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.009185, allocations: 19.84 kB / 0.795 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.009235, allocations: 47.36 kB / 0.795 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.009381, allocations: 0.5469 MB / 0.7955 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.009425, allocations: 23.98 kB / 0.7956 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.3e-05/0.009488, allocations: 84.64 kB / 0.7957 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.037e-05/0.009558, allocations: 55.19 kB / 0.7957 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.00956, allocations: 0 / 0.7957 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001591/0.009719, allocations: 153.8 kB / 0.7958 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.009731, allocations: 7.984 kB / 0.7959 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.009735, allocations: 5.625 kB / 0.7959 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.009745, allocations: 0 / 0.7959 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/0.009826, allocations: 19.94 kB / 0.7959 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.009832, allocations: 7.984 kB / 0.7959 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.009888, allocations: 12.72 kB / 0.7959 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.009903, allocations: 4 kB / 0.7959 GB, free: 3.566 MB / 0.7448 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 8.646e-05/0.009989, allocations: 166.2 kB / 0.7961 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.01002, allocations: 55.66 kB / 0.7961 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.01017, allocations: 117.9 kB / 0.7962 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.01017, allocations: 4.594 kB / 0.7962 GB, free: 3.203 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.01017, allocations: 11.98 kB / 0.7962 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01018, allocations: 0.9062 kB / 0.7962 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001879/0.01037, allocations: 284.5 kB / 0.7965 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01037, allocations: 3.938 kB / 0.7965 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.674e-05/0.01038, allocations: 4 kB / 0.7965 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.01038, allocations: 0 / 0.7965 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.01039, allocations: 0 / 0.7965 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.01039, allocations: 4 kB / 0.7965 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01039, allocations: 0 / 0.7965 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.01051, allocations: 160 kB / 0.7967 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.01055, allocations: 47.66 kB / 0.7967 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.01057, allocations: 0 / 0.7967 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.01061, allocations: 8 kB / 0.7967 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.01065, allocations: 17.02 kB / 0.7968 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.01066, allocations: 4 kB / 0.7968 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002086/0.01087, allocations: 334.8 kB / 0.7971 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01087, allocations: 1.031 kB / 0.7971 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001712/0.01104, allocations: 47.92 kB / 0.7971 GB, free: 2.246 MB / 0.7448 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.0007735/0.01181, allocations: 400.7 kB / 0.7975 GB, free: 1.996 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01194, allocations: 69.78 kB / 0.7976 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.01194, allocations: 4 kB / 0.7976 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.606e-05/0.01198, allocations: 23.67 kB / 0.7976 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.0122, allocations: 64.83 kB / 0.7977 GB, free: 1.836 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.01295, allocations: 0.5732 MB / 0.7982 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.564e-05/0.01302, allocations: 115.9 kB / 0.7983 GB, free: 1.098 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.022e-05/0.01307, allocations: 21.78 kB / 0.7983 GB, free: 1.074 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.01311, allocations: 28.48 kB / 0.7984 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01311, allocations: 0 / 0.7984 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of Templates: time 0.005371/0.01848, allocations: 3.059 MB / 0.8014 GB, free: 14.05 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8856332988943905]