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.0009777/0.0009777, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001032/0.001032, allocations: 161 kB / 23.82 MB, free: 0.75 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.028/1.028, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.736/1.736, allocations: 359 MB / 0.6052 GB, free: 11.02 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 1.253e-06/1.253e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.719e-05, allocations: 11.22 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Heating.Validation.Nicol2001HeatingPakistan): time 0.001792/0.001809, allocations: 1.526 MB / 0.7886 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002922, allocations: 0.7889 MB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.979e-05/0.002971, allocations: 0 / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.003001, allocations: 5.344 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.003052, allocations: 19.84 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005072/0.003559, allocations: 148.5 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.003661, allocations: 79.7 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.646e-05/0.003738, allocations: 4.188 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.003858, allocations: 57.12 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.888e-05/0.003907, allocations: 31.89 kB / 0.7897 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.003924, allocations: 4 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.004114, allocations: 153.2 kB / 0.7898 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.004132, allocations: 11.92 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.004166, allocations: 23.97 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.004364, allocations: 151.5 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004367, allocations: 1.031 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004367, allocations: 0 / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004371, allocations: 0 / 0.79 GB, free: 9.523 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.0004712/0.004842, allocations: 450.9 kB / 0.7904 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.004876, allocations: 8.031 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.005067, allocations: 34.08 kB / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.005209, allocations: 130.1 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.005231, allocations: 12.38 kB / 0.7906 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.00525, allocations: 12.34 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.005374, allocations: 66.94 kB / 0.7907 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.005386, allocations: 9.516 kB / 0.7907 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.005397, allocations: 4.125 kB / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.005404, allocations: 0 / 0.7907 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.473e-05/0.005439, allocations: 8 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003683/0.005807, allocations: 310.5 kB / 0.791 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.231e-05/0.00587, allocations: 39.06 kB / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.018e-05/0.0059, allocations: 15.67 kB / 0.791 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.00592, allocations: 11.88 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.584e-05/0.005996, allocations: 65.17 kB / 0.7911 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.005997, allocations: 0.7188 kB / 0.7911 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002192/0.006217, allocations: 103.5 kB / 0.7912 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.006249, allocations: 59.34 kB / 0.7913 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.006336, allocations: 183.5 kB / 0.7914 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.006347, allocations: 25.7 kB / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.783e-05/0.006395, allocations: 138.8 kB / 0.7916 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.006413, allocations: 25.7 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.006451, allocations: 35.36 kB / 0.7917 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.006561, allocations: 496.1 kB / 0.7921 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.006588, allocations: 11.98 kB / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.006631, allocations: 44.23 kB / 0.7922 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.67e-05/0.006697, allocations: 63 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006699, allocations: 1.812 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001079/0.006807, allocations: 89.5 kB / 0.7923 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.006818, allocations: 4 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006822, allocations: 0 / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.006838, allocations: 4.781 kB / 0.7923 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.006906, allocations: 15.98 kB / 0.7924 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.006912, allocations: 4.531 kB / 0.7924 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.006942, allocations: 4.672 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.006952, allocations: 7.984 kB / 0.7924 GB, free: 6.859 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 7.341e-05/0.007025, allocations: 166.4 kB / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.007038, allocations: 11.89 kB / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.007061, allocations: 12.44 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.007063, allocations: 0.5312 kB / 0.7926 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.007066, allocations: 0 / 0.7926 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.007069, allocations: 1.375 kB / 0.7926 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.007308, allocations: 357.3 kB / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.00731, allocations: 0 / 0.7929 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/0.007331, allocations: 13.08 kB / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.007332, allocations: 0 / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.007339, allocations: 0 / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.00734, allocations: 0 / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.007341, allocations: 1.219 kB / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.007481, allocations: 243.8 kB / 0.7931 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.007489, allocations: 11.95 kB / 0.7931 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.0075, allocations: 0.8125 kB / 0.7932 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.948e-05/0.00754, allocations: 0 / 0.7932 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.007575, allocations: 12.92 kB / 0.7932 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.007582, allocations: 4 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.517e-05/0.007628, allocations: 139 kB / 0.7933 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007628, allocations: 1.344 kB / 0.7933 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001944/0.007822, allocations: 43.86 kB / 0.7933 GB, free: 5.805 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.0002676/0.00809, allocations: 178.2 kB / 0.7935 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.008208, allocations: 55.62 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.00821, allocations: 0.7812 kB / 0.7936 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.00825, allocations: 27.62 kB / 0.7936 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.008439, allocations: 29.42 kB / 0.7936 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.008983, allocations: 186.6 kB / 0.7938 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.705e-05/0.00902, allocations: 59.34 kB / 0.7939 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.771e-05/0.009048, allocations: 4.625 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.009076, allocations: 16.48 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.009077, allocations: 0.5 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.003174/0.01225, allocations: 1.518 MB / 0.7954 GB, free: 3.734 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.111605860758573]