Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.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.001677/0.001677, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001563/0.001563, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.102/1.102, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.805/1.805, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] 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.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") translateModel(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.TOut|hea.occ|hea.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.787 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.23e-05, allocations: 6.5 kB / 0.787 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002547/0.00258, allocations: 1.551 MB / 0.7886 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.004107, allocations: 0.788 MB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.037e-05/0.004187, allocations: 0.6875 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.757e-05/0.004235, allocations: 7.922 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.055e-05/0.004305, allocations: 16.77 kB / 0.7894 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.005099, allocations: 144 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.005243, allocations: 75.77 kB / 0.7896 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.005353, allocations: 13.42 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.005526, allocations: 55.83 kB / 0.7896 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.602e-05/0.005592, allocations: 37.5 kB / 0.7897 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.005613, allocations: 4 kB / 0.7897 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002537/0.005867, allocations: 139.7 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.005892, allocations: 15.98 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.005936, allocations: 23.91 kB / 0.7898 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.00619, allocations: 148.8 kB / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006193, allocations: 0 / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006194, allocations: 0 / 0.79 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.0062, allocations: 1.594 kB / 0.79 GB, free: 9.559 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.0005735/0.006773, allocations: 449.8 kB / 0.7904 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.006817, allocations: 8.031 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.007066, allocations: 33.81 kB / 0.7905 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.00728, allocations: 147.7 kB / 0.7906 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.007307, allocations: 384 / 0.7906 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.007322, allocations: 4.375 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.007491, allocations: 70.92 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.007503, allocations: 192 / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.007518, allocations: 8.125 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.007528, allocations: 0 / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.007565, allocations: 15.92 kB / 0.7907 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.008034, allocations: 300.4 kB / 0.791 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.008114, allocations: 40.7 kB / 0.791 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/0.008148, allocations: 19.81 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.008169, allocations: 3.938 kB / 0.791 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.008276, allocations: 77.97 kB / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.008277, allocations: 0 / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002575/0.008535, allocations: 97.62 kB / 0.7912 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.008578, allocations: 56.95 kB / 0.7913 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.008699, allocations: 180 kB / 0.7914 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.008714, allocations: 29.7 kB / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.008774, allocations: 142.8 kB / 0.7916 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.008794, allocations: 17.25 kB / 0.7916 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.00884, allocations: 31.36 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.008963, allocations: 0.4884 MB / 0.7921 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.008996, allocations: 8 kB / 0.7921 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.453e-05/0.009041, allocations: 48.39 kB / 0.7922 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.986e-05/0.009111, allocations: 55.05 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.009113, allocations: 0.5312 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001256/0.009239, allocations: 99.09 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.009256, allocations: 7.984 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.009262, allocations: 3.938 kB / 0.7923 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.009277, allocations: 8.938 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.754e-05/0.009365, allocations: 8 kB / 0.7924 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.009372, allocations: 4.391 kB / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.009407, allocations: 12.47 kB / 0.7924 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.009419, allocations: 4.531 kB / 0.7924 GB, free: 6.895 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.899e-05/0.009508, allocations: 161.6 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.009524, allocations: 15.89 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.009559, allocations: 9.047 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.009562, allocations: 0.5312 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.009566, allocations: 0 / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.00957, allocations: 5.312 kB / 0.7926 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.009866, allocations: 361.3 kB / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009868, allocations: 0 / 0.7929 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.009894, allocations: 4 kB / 0.7929 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009897, allocations: 1.156 kB / 0.7929 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.009906, allocations: 0 / 0.7929 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.009908, allocations: 0 / 0.7929 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.00991, allocations: 4.797 kB / 0.7929 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.01007, allocations: 247.8 kB / 0.7931 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.01009, allocations: 8.891 kB / 0.7932 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.0101, allocations: 0 / 0.7932 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.498e-05/0.01014, allocations: 9.328 kB / 0.7932 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.01018, allocations: 3.984 kB / 0.7932 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.01019, allocations: 7.984 kB / 0.7932 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.01024, allocations: 137.2 kB / 0.7933 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01024, allocations: 0.9688 kB / 0.7933 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002378/0.01048, allocations: 35.94 kB / 0.7933 GB, free: 5.844 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.0003871/0.01087, allocations: 181.8 kB / 0.7935 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01102, allocations: 55.03 kB / 0.7936 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.01102, allocations: 0 / 0.7936 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-05/0.01107, allocations: 31.61 kB / 0.7936 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.01128, allocations: 17.81 kB / 0.7936 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.01192, allocations: 191.4 kB / 0.7938 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.897e-05/0.01196, allocations: 55.36 kB / 0.7938 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.012, allocations: 9.047 kB / 0.7939 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.01202, allocations: 13.06 kB / 0.7939 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of SimCode: time 9.92e-07/0.01203, allocations: 0 / 0.7939 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of Templates: time 0.004042/0.01607, allocations: 1.667 MB / 0.7955 GB, free: 3.621 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Heating_Validation_Nicol2001HeatingPakistan.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.2473532278090715]