Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.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.001361/0.001361, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001526/0.001526, allocations: 177 kB / 24.08 MB, free: 416 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 1.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.758/1.758, allocations: 359 MB / 0.6055 GB, free: 10.82 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.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.205e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.001959/0.001981, allocations: 1.531 MB / 0.789 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003015, allocations: 0.7842 MB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.487e-05/0.00308, allocations: 5.062 kB / 0.7898 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.00311, allocations: 3.938 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.003166, allocations: 13.27 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.00368, allocations: 151.4 kB / 0.7899 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.777e-05/0.003777, allocations: 75.77 kB / 0.79 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.00385, allocations: 9.25 kB / 0.79 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.003976, allocations: 55.88 kB / 0.7901 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.382e-05/0.004019, allocations: 29.45 kB / 0.7901 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.004035, allocations: 8 kB / 0.7901 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.004229, allocations: 147.6 kB / 0.7903 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.004245, allocations: 7.984 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.004276, allocations: 27.91 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.004453, allocations: 149.2 kB / 0.7904 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.004455, allocations: 4 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004455, allocations: 0 / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.004458, allocations: 0 / 0.7904 GB, free: 9.195 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004128/0.004871, allocations: 451.4 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.004905, allocations: 8.031 kB / 0.7909 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.005076, allocations: 30.72 kB / 0.7909 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.005199, allocations: 143.3 kB / 0.791 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.005215, allocations: 4.375 kB / 0.791 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.005224, allocations: 4.375 kB / 0.791 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.005327, allocations: 69.33 kB / 0.7911 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005333, allocations: 192 / 0.7911 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.005341, allocations: 8.125 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.005346, allocations: 3.938 kB / 0.7911 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.304e-05/0.005369, allocations: 11.98 kB / 0.7911 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002987/0.005668, allocations: 284.9 kB / 0.7914 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.447e-05/0.005722, allocations: 40.7 kB / 0.7914 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.133e-05/0.005744, allocations: 15.69 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.005764, allocations: 0 / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.249e-05/0.005836, allocations: 68.97 kB / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.005837, allocations: 0.5625 kB / 0.7915 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001966/0.006034, allocations: 107 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.006063, allocations: 55.41 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.006148, allocations: 177.9 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.006161, allocations: 30.86 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.00621, allocations: 142.8 kB / 0.792 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.006227, allocations: 15.89 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.006266, allocations: 35.34 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.006383, allocations: 0.4897 MB / 0.7925 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.006403, allocations: 7.984 kB / 0.7926 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.281e-05/0.006435, allocations: 39.05 kB / 0.7926 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/0.006492, allocations: 60.72 kB / 0.7926 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.006495, allocations: 0 / 0.7926 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.857e-05/0.006593, allocations: 82.23 kB / 0.7927 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.006607, allocations: 10.03 kB / 0.7927 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006611, allocations: 0.8125 kB / 0.7927 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.006622, allocations: 0 / 0.7927 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.205e-05/0.006684, allocations: 23.33 kB / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006687, allocations: 0 / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.006718, allocations: 15.94 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.006727, allocations: 7.984 kB / 0.7928 GB, free: 6.582 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (hea.occ,hea.curSeed,$PRE.hea.curSeed,hea.p,$PRE.hea.p,hea.on,$PRE.hea.on,hea.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.596e-05/0.006793, allocations: 164.5 kB / 0.7929 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.006807, allocations: 11.89 kB / 0.7929 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.04e-05/0.006827, allocations: 8.438 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.00683, allocations: 4 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006831, allocations: 0.5 kB / 0.793 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006834, allocations: 5.922 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.007055, allocations: 329.9 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.007057, allocations: 0 / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.553e-05/0.007083, allocations: 4 kB / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.007085, allocations: 0 / 0.7933 GB, free: 6.027 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.007091, allocations: 6.234 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007092, allocations: 4 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007093, allocations: 0 / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.00722, allocations: 239.7 kB / 0.7935 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.007229, allocations: 7.953 kB / 0.7935 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.00724, allocations: 7.984 kB / 0.7935 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.007279, allocations: 0.7188 kB / 0.7935 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.007303, allocations: 7.984 kB / 0.7935 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.007308, allocations: 0.5312 kB / 0.7935 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.388e-05/0.007352, allocations: 136.8 kB / 0.7937 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007352, allocations: 4.906 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001875/0.007539, allocations: 35.94 kB / 0.7937 GB, free: 5.57 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: 6 (hea.sampleTrigger,$whenCondition1,hea.occ,hea.on,hea.p,hea.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002631/0.007803, allocations: 177.8 kB / 0.7939 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.012e-05/0.007893, allocations: 44.44 kB / 0.7939 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.007894, allocations: 0 / 0.7939 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.007925, allocations: 27.61 kB / 0.794 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/0.008109, allocations: 17.52 kB / 0.794 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.008554, allocations: 191.1 kB / 0.7942 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.264e-05/0.008587, allocations: 63.34 kB / 0.7942 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.008613, allocations: 5.062 kB / 0.7942 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.008661, allocations: 74.2 kB / 0.7943 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.008662, allocations: 0 / 0.7943 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.003451/0.01211, allocations: 1.693 MB / 0.7959 GB, free: 3.27 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingUK.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.952526308130473]