Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.001025/0.001025, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001777/0.001777, allocations: 161 kB / 23.82 MB, free: 0.7461 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.062/1.062, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.784/1.784, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.526e-05, allocations: 3.125 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.00222/0.002245, allocations: 1.536 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003356, allocations: 0.7933 MB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.00342, allocations: 3.938 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.003452, allocations: 3.938 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.003506, allocations: 13.09 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.004111, allocations: 152 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.004225, allocations: 79.7 kB / 0.7896 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.613e-05/0.004311, allocations: 9.578 kB / 0.7896 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.004457, allocations: 47.95 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.312e-05/0.00451, allocations: 31.89 kB / 0.7897 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.004529, allocations: 4.75 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.004758, allocations: 143.6 kB / 0.7898 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.004784, allocations: 20.81 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.00482, allocations: 19.98 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.005053, allocations: 151.5 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.005055, allocations: 4.656 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/0.005057, allocations: 1.062 kB / 0.79 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.005062, allocations: 0 / 0.79 GB, free: 9.52 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.0005269/0.005589, allocations: 453 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.005624, allocations: 8.031 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001985/0.005822, allocations: 32.86 kB / 0.7905 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.00598, allocations: 132.4 kB / 0.7906 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.006002, allocations: 8.375 kB / 0.7906 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.006019, allocations: 4.375 kB / 0.7906 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.006153, allocations: 70.92 kB / 0.7907 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.006164, allocations: 0.9062 kB / 0.7907 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.006175, allocations: 5.781 kB / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.006183, allocations: 0 / 0.7907 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.355e-05/0.006216, allocations: 11.98 kB / 0.7907 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003878/0.006604, allocations: 309.3 kB / 0.791 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.006676, allocations: 47.03 kB / 0.791 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.006706, allocations: 15.67 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.00673, allocations: 7.938 kB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.035e-05/0.00682, allocations: 66.52 kB / 0.7911 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.006822, allocations: 0 / 0.7911 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.00025/0.007072, allocations: 105.9 kB / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.007114, allocations: 60.98 kB / 0.7913 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.007411, allocations: 181.9 kB / 0.7914 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.007424, allocations: 25.7 kB / 0.7915 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.00747, allocations: 138.8 kB / 0.7916 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.007488, allocations: 17.59 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.007525, allocations: 35.36 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.007626, allocations: 0.4884 MB / 0.7921 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.007655, allocations: 11.98 kB / 0.7921 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.357e-05/0.007699, allocations: 46.98 kB / 0.7922 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.525e-05/0.007764, allocations: 55.97 kB / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007767, allocations: 8.531 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001101/0.007877, allocations: 90.53 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.00789, allocations: 5.562 kB / 0.7923 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.007895, allocations: 1.156 kB / 0.7923 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.007911, allocations: 4 kB / 0.7923 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.007986, allocations: 19.92 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.007992, allocations: 0.5 kB / 0.7924 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.008022, allocations: 8.484 kB / 0.7924 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.008036, allocations: 5.375 kB / 0.7924 GB, free: 6.855 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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.048e-05/0.008107, allocations: 164.6 kB / 0.7925 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.008122, allocations: 13.05 kB / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.008147, allocations: 12.44 kB / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008148, allocations: 0 / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.008152, allocations: 0 / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.008156, allocations: 0.9375 kB / 0.7926 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.008418, allocations: 361.2 kB / 0.7929 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.00842, allocations: 0.8125 kB / 0.7929 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.008442, allocations: 3.984 kB / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.008444, allocations: 4.938 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.008451, allocations: 0 / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008453, allocations: 0 / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008454, allocations: 1.344 kB / 0.7929 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.008598, allocations: 243.8 kB / 0.7931 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.744e-06/0.008605, allocations: 7.938 kB / 0.7932 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.008618, allocations: 4.875 kB / 0.7932 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.127e-05/0.008659, allocations: 4 kB / 0.7932 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.008697, allocations: 7.984 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.008704, allocations: 2.281 kB / 0.7932 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.171e-05/0.008745, allocations: 145.2 kB / 0.7933 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008745, allocations: 0 / 0.7933 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002062/0.008952, allocations: 35.94 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0003053/0.009257, allocations: 181 kB / 0.7935 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.009385, allocations: 55.58 kB / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009387, allocations: 0 / 0.7936 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.009428, allocations: 27.67 kB / 0.7936 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.009625, allocations: 26.58 kB / 0.7936 GB, free: 5.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005674/0.01019, allocations: 188.3 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.493e-05/0.01023, allocations: 60.75 kB / 0.7939 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.01025, allocations: 4 kB / 0.7939 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.01028, allocations: 13.06 kB / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.01028, allocations: 0 / 0.7939 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of Templates: time 0.003293/0.01358, allocations: 1.52 MB / 0.7954 GB, free: 3.73 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.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.2734507150016725]