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.001309/0.001309, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001824/0.001824, allocations: 172.5 kB / 24.87 MB, free: 8.695 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 1.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.79/1.79, allocations: 359 MB / 0.6063 GB, free: 10.92 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.452e-06/1.452e-06, allocations: 0 / 0.7883 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.66e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingUK): time 0.002126/0.002153, allocations: 1.541 MB / 0.7898 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003209, allocations: 0.782 MB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.003265, allocations: 0 / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.83e-05/0.003294, allocations: 3.938 kB / 0.7905 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.003346, allocations: 17.42 kB / 0.7906 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.003842, allocations: 143.4 kB / 0.7907 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.807e-05/0.00394, allocations: 75.72 kB / 0.7908 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.004018, allocations: 13.39 kB / 0.7908 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.004146, allocations: 59.83 kB / 0.7908 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.004206, allocations: 28.62 kB / 0.7909 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.004226, allocations: 8 kB / 0.7909 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.00442, allocations: 141.3 kB / 0.791 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.004443, allocations: 19.91 kB / 0.791 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.036e-05/0.004473, allocations: 19.92 kB / 0.791 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.004667, allocations: 151.5 kB / 0.7912 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.004671, allocations: 7.531 kB / 0.7912 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004672, allocations: 0 / 0.7912 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.004676, allocations: 0 / 0.7912 GB, free: 9.305 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.0004095/0.005085, allocations: 453.8 kB / 0.7916 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.005117, allocations: 8.031 kB / 0.7916 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.0053, allocations: 28.88 kB / 0.7917 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.005446, allocations: 134.7 kB / 0.7918 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.005464, allocations: 5.094 kB / 0.7918 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.005477, allocations: 8.375 kB / 0.7918 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.005579, allocations: 64.58 kB / 0.7919 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.005586, allocations: 192 / 0.7919 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.005597, allocations: 8.125 kB / 0.7919 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.005602, allocations: 0 / 0.7919 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.005627, allocations: 16.83 kB / 0.7919 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.005943, allocations: 285.4 kB / 0.7922 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.644e-05/0.006, allocations: 31.06 kB / 0.7922 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.006021, allocations: 21.02 kB / 0.7922 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.006036, allocations: 0 / 0.7922 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.417e-05/0.006121, allocations: 77.03 kB / 0.7923 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.006121, allocations: 4.656 kB / 0.7923 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001801/0.006302, allocations: 93.61 kB / 0.7924 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.006333, allocations: 52.62 kB / 0.7924 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.006412, allocations: 185.9 kB / 0.7926 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.006424, allocations: 25.7 kB / 0.7926 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.006476, allocations: 143.6 kB / 0.7928 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.006495, allocations: 19.89 kB / 0.7928 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.006533, allocations: 35.34 kB / 0.7928 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.006647, allocations: 497.9 kB / 0.7933 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.006669, allocations: 11.98 kB / 0.7933 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.172e-05/0.006701, allocations: 38.98 kB / 0.7933 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.476e-05/0.006756, allocations: 51.98 kB / 0.7934 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.006758, allocations: 0.6875 kB / 0.7934 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001024/0.00686, allocations: 90.05 kB / 0.7935 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.006872, allocations: 4 kB / 0.7935 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.006878, allocations: 5.125 kB / 0.7935 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.006886, allocations: 3.938 kB / 0.7935 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.006945, allocations: 16.52 kB / 0.7935 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.006948, allocations: 0 / 0.7935 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.909e-05/0.006977, allocations: 9.203 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.006987, allocations: 8 kB / 0.7935 GB, free: 6.703 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 8.26e-05/0.007069, allocations: 161.7 kB / 0.7937 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.007086, allocations: 19.89 kB / 0.7937 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.007108, allocations: 8.422 kB / 0.7937 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.00711, allocations: 0.9375 kB / 0.7937 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.007112, allocations: 0 / 0.7937 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.007117, allocations: 8.719 kB / 0.7937 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005712/0.007688, allocations: 333.9 kB / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.00769, allocations: 0.9688 kB / 0.794 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.00771, allocations: 4 kB / 0.794 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.007712, allocations: 0 / 0.794 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.00772, allocations: 5.172 kB / 0.794 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007722, allocations: 0 / 0.794 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007723, allocations: 4 kB / 0.794 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.007867, allocations: 244.6 kB / 0.7943 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.007875, allocations: 3.953 kB / 0.7943 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.007886, allocations: 6.219 kB / 0.7943 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.927e-05/0.007926, allocations: 3.984 kB / 0.7943 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.007957, allocations: 4 kB / 0.7943 GB, free: 5.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.007965, allocations: 3.984 kB / 0.7943 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.008017, allocations: 141 kB / 0.7944 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008018, allocations: 0 / 0.7944 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002156/0.008233, allocations: 38.81 kB / 0.7945 GB, free: 5.684 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.0002818/0.008515, allocations: 170.2 kB / 0.7946 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.008615, allocations: 49.09 kB / 0.7947 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.008618, allocations: 0 / 0.7947 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.563e-05/0.008653, allocations: 27.61 kB / 0.7947 GB, free: 5.441 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.008845, allocations: 22.8 kB / 0.7947 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.009308, allocations: 187.5 kB / 0.7949 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.229e-05/0.009341, allocations: 55.36 kB / 0.795 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.545e-05/0.009366, allocations: 13.06 kB / 0.795 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.009415, allocations: 74.2 kB / 0.795 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of SimCode: time 9.41e-07/0.009416, allocations: 0.6562 kB / 0.795 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of Templates: time 0.003372/0.01279, allocations: 1.721 MB / 0.7967 GB, free: 3.352 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: 5.189999534748495]