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.0008568/0.0008568, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001018/0.001018, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8779/0.8779, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.638/1.638, allocations: 359 MB / 0.6044 GB, free: 11.1 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.483e-06/1.483e-06, allocations: 0 / 0.9517 GB, free: 3.066 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.573e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.001865/0.001891, allocations: 1.498 MB / 0.9531 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000948/0.002839, allocations: 0.76 MB / 0.9539 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.002889, allocations: 4 kB / 0.9539 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.002918, allocations: 3.938 kB / 0.9539 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.002966, allocations: 27.72 kB / 0.9539 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004868/0.003453, allocations: 147.4 kB / 0.9541 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003553, allocations: 79.7 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.256e-05/0.003636, allocations: 8.188 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.003751, allocations: 55.81 kB / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.631e-05/0.003797, allocations: 31.95 kB / 0.9542 GB, free: 440 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.003814, allocations: 8 kB / 0.9542 GB, free: 432 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.003993, allocations: 139.7 kB / 0.9544 GB, free: 292 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.004015, allocations: 23.91 kB / 0.9544 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.00405, allocations: 23.91 kB / 0.9544 GB, free: 244 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.004251, allocations: 167.5 kB / 0.9546 GB, free: 76 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.004253, allocations: 3.984 kB / 0.9546 GB, free: 72 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.312e-06/0.004255, allocations: 0 / 0.9546 GB, free: 72 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004259, allocations: 0 / 0.9546 GB, free: 72 kB / 0.9011 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.0004689/0.004727, allocations: 343.6 kB / 0.9549 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.00476, allocations: 8.031 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001803/0.00494, allocations: 40.86 kB / 0.955 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.005099, allocations: 125.7 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.00512, allocations: 4.375 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.005132, allocations: 8.312 kB / 0.9551 GB, free: 15.49 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.005255, allocations: 70.2 kB / 0.9552 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.005263, allocations: 192 / 0.9552 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.005274, allocations: 4.125 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005278, allocations: 4 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.824e-05/0.005346, allocations: 35.98 kB / 0.9552 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.005689, allocations: 252.5 kB / 0.9554 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.287e-05/0.005771, allocations: 46.5 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.606e-05/0.005817, allocations: 24.97 kB / 0.9555 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.005838, allocations: 7.938 kB / 0.9555 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.005949, allocations: 79.38 kB / 0.9556 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.00595, allocations: 0 / 0.9556 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0002599/0.00621, allocations: 141.6 kB / 0.9557 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.00624, allocations: 55.41 kB / 0.9558 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/0.006309, allocations: 122 kB / 0.9559 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.006324, allocations: 37.62 kB / 0.9559 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.006364, allocations: 88.22 kB / 0.956 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.006382, allocations: 23.83 kB / 0.956 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.006416, allocations: 25.7 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.499e-05/0.006491, allocations: 326.8 kB / 0.9564 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.486e-05/0.006536, allocations: 27.98 kB / 0.9564 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.00659, allocations: 50.5 kB / 0.9564 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.006682, allocations: 78.73 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006684, allocations: 0 / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001356/0.00682, allocations: 121.5 kB / 0.9566 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006831, allocations: 8 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.006835, allocations: 0 / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.006848, allocations: 4 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.649e-05/0.006904, allocations: 11.98 kB / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.006908, allocations: 0 / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.863e-05/0.006937, allocations: 7.953 kB / 0.9567 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.006947, allocations: 4 kB / 0.9567 GB, free: 13.73 MB / 0.9167 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 6.739e-05/0.007014, allocations: 128.6 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.007023, allocations: 11.94 kB / 0.9568 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.007043, allocations: 8.422 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.007046, allocations: 4 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.00705, allocations: 0 / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.007053, allocations: 0 / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.007309, allocations: 330.1 kB / 0.9571 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007311, allocations: 3.938 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.751e-05/0.007328, allocations: 7.984 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.007329, allocations: 0 / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.007336, allocations: 3.938 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.007337, allocations: 4 kB / 0.9572 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.007338, allocations: 0 / 0.9572 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.007494, allocations: 219.4 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-06/0.007502, allocations: 7.891 kB / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.007514, allocations: 4 kB / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.007553, allocations: 0 / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.007589, allocations: 7.984 kB / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.007594, allocations: 0 / 0.9574 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.819e-05/0.007633, allocations: 99.27 kB / 0.9575 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007633, allocations: 0 / 0.9575 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001848/0.007817, allocations: 43.92 kB / 0.9575 GB, free: 12.8 MB / 0.9167 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.0002482/0.008066, allocations: 167.8 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.008207, allocations: 71.94 kB / 0.9577 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008208, allocations: 3.938 kB / 0.9577 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.177e-05/0.00826, allocations: 36.11 kB / 0.9578 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.008433, allocations: 9.828 kB / 0.9578 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.008721, allocations: 203.7 kB / 0.958 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.008766, allocations: 75.33 kB / 0.9581 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.008794, allocations: 16.44 kB / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.008795, allocations: 0 / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of Templates: time 0.002249/0.01104, allocations: 1.683 MB / 0.9597 GB, free: 10.51 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.7875533401966095]