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.0009278/0.0009278, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001097/0.001097, allocations: 185 kB / 24.09 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 0.9471/0.9471, 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.727/1.727, allocations: 359 MB / 0.6055 GB, free: 10.86 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.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.034e-06/2.034e-06, allocations: 0 / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.806e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.002411/0.00244, allocations: 1.528 MB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003493, allocations: 0.7853 MB / 0.7898 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.003554, allocations: 3.938 kB / 0.7898 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.003583, allocations: 4.906 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.078e-05/0.003634, allocations: 11.86 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.004135, allocations: 148 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.84e-05/0.004233, allocations: 76.33 kB / 0.79 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.83e-05/0.004311, allocations: 13.33 kB / 0.79 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.004437, allocations: 47.89 kB / 0.7901 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.004489, allocations: 35.89 kB / 0.7901 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.004506, allocations: 10.19 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.004701, allocations: 143.6 kB / 0.7903 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.004719, allocations: 11.97 kB / 0.7903 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.004748, allocations: 23.92 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.004935, allocations: 155.5 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.004938, allocations: 0 / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004939, allocations: 2.031 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.004944, allocations: 4 kB / 0.7904 GB, free: 9.254 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.000433/0.005377, allocations: 437.9 kB / 0.7909 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.005415, allocations: 12.03 kB / 0.7909 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.005605, allocations: 38.42 kB / 0.7909 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.00573, allocations: 132.4 kB / 0.791 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.005748, allocations: 5.531 kB / 0.791 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.005758, allocations: 4.375 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.00586, allocations: 66.92 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.005866, allocations: 1.562 kB / 0.7911 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.005874, allocations: 4.125 kB / 0.7911 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.005882, allocations: 4 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.005904, allocations: 7.984 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003062/0.00621, allocations: 290.1 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.445e-05/0.006265, allocations: 42.98 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.006285, allocations: 20.75 kB / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.006304, allocations: 0 / 0.7915 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.419e-05/0.006378, allocations: 75.02 kB / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.00638, allocations: 0 / 0.7915 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001809/0.006561, allocations: 101.8 kB / 0.7916 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.00659, allocations: 51.41 kB / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.006674, allocations: 184.2 kB / 0.7919 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.006686, allocations: 32.3 kB / 0.7919 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.006734, allocations: 146.8 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.00675, allocations: 11.91 kB / 0.792 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.006786, allocations: 35.34 kB / 0.7921 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.006897, allocations: 0.4884 MB / 0.7926 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.006916, allocations: 8 kB / 0.7926 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.144e-05/0.006947, allocations: 39.05 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.007001, allocations: 59.69 kB / 0.7927 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.007003, allocations: 0.5312 kB / 0.7927 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.244e-05/0.007095, allocations: 83.17 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.007107, allocations: 5.406 kB / 0.7927 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.007113, allocations: 7.984 kB / 0.7927 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.007125, allocations: 0.6562 kB / 0.7927 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.528e-05/0.00719, allocations: 15.94 kB / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.007193, allocations: 1.031 kB / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.007223, allocations: 11.94 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.007231, allocations: 0 / 0.7928 GB, free: 6.656 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.924e-05/0.0073, allocations: 170.2 kB / 0.7929 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.007315, allocations: 15.89 kB / 0.793 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.00734, allocations: 12.38 kB / 0.793 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.007342, allocations: 5.266 kB / 0.793 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.007344, allocations: 0 / 0.793 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.007349, allocations: 4 kB / 0.793 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.007574, allocations: 326.7 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007575, allocations: 0 / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.007597, allocations: 8.984 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.007599, allocations: 0 / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.007605, allocations: 0 / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007606, allocations: 1.438 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007607, allocations: 4 kB / 0.7933 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.007731, allocations: 239.7 kB / 0.7935 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.00774, allocations: 7.938 kB / 0.7935 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.007751, allocations: 9.312 kB / 0.7935 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/0.00779, allocations: 0 / 0.7935 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.007818, allocations: 11.98 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.007823, allocations: 3.031 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.952e-05/0.007863, allocations: 135.2 kB / 0.7937 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007863, allocations: 0 / 0.7937 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00019/0.008053, allocations: 35.94 kB / 0.7937 GB, free: 5.637 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.0002829/0.008336, allocations: 182.7 kB / 0.7939 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.18e-05/0.008428, allocations: 45.28 kB / 0.7939 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.008429, allocations: 0 / 0.7939 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.008463, allocations: 27.66 kB / 0.794 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/0.00865, allocations: 16.42 kB / 0.794 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.009099, allocations: 189 kB / 0.7942 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.623e-05/0.009135, allocations: 67.34 kB / 0.7942 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.584e-05/0.009161, allocations: 0.6562 kB / 0.7942 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.00921, allocations: 78.72 kB / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.009211, allocations: 2.812 kB / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of Templates: time 0.003175/0.01239, allocations: 1.685 MB / 0.7959 GB, free: 3.336 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: 4.796721237245947]