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.001964/0.001964, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002729/0.002729, allocations: 221.5 kB / 23 MB, free: 4.91 MB / 14.72 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.781/2.781, allocations: 476 MB / 0.7707 GB, free: 4.754 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 66.86 kB / 1.118 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2955, allocations: 170 MB / 1.284 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.002854/0.2984, allocations: 1.488 MB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2999, allocations: 0.7574 MB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.2999, allocations: 0 / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.3, allocations: 7.875 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.3, allocations: 15.88 kB / 1.286 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/0.3006, allocations: 143.6 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.3008, allocations: 79.72 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.3008, allocations: 8.172 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.301, allocations: 43.91 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.3011, allocations: 35.83 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3011, allocations: 8 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.3014, allocations: 139.7 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.807e-05/0.3014, allocations: 19.92 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.3014, allocations: 27.91 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.3017, allocations: 159.4 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3017, allocations: 0 / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3017, allocations: 0 / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3017, allocations: 0 / 1.287 GB, free: 9.148 MB / 0.9825 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.0006226/0.3023, allocations: 347.5 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3024, allocations: 12.03 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.3027, allocations: 20.92 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.3029, allocations: 146.4 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.303, allocations: 4.375 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.303, allocations: 4.375 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3032, allocations: 73.77 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3032, allocations: 4 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3032, allocations: 4 kB / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.3032, allocations: 0 / 1.287 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.3033, allocations: 39.91 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.3039, allocations: 252.5 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.304, allocations: 42.56 kB / 1.288 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.3041, allocations: 28.97 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3041, allocations: 0 / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.3043, allocations: 83.31 kB / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3043, allocations: 0 / 1.288 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004071/0.3047, allocations: 153.6 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.066e-05/0.3047, allocations: 55.34 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3049, allocations: 124.1 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.3049, allocations: 33.7 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.305, allocations: 88.09 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.305, allocations: 23.83 kB / 1.288 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.305, allocations: 29.7 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3052, allocations: 318.8 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.3053, allocations: 31.92 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3054, allocations: 50.55 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.3056, allocations: 70.55 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3056, allocations: 0 / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002366/0.3058, allocations: 113.5 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3058, allocations: 4 kB / 1.289 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.3058, allocations: 7.984 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3058, allocations: 4.062 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.3059, allocations: 11.94 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3059, allocations: 3.984 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.193e-05/0.306, allocations: 4 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.306, allocations: 8 kB / 1.289 GB, free: 6.797 MB / 0.9825 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 0.0001036/0.3061, allocations: 121.8 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.3061, allocations: 3.953 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.3062, allocations: 16.36 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3062, allocations: 0 / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3062, allocations: 4 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3062, allocations: 0 / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004708/0.3066, allocations: 326.1 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3066, allocations: 0 / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.3067, allocations: 7.938 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3067, allocations: 0 / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3067, allocations: 3.984 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3067, allocations: 0 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3067, allocations: 0 / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.307, allocations: 227.3 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.307, allocations: 11.89 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.3071, allocations: 3.984 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.458e-05/0.3071, allocations: 8 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3072, allocations: 7.984 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3072, allocations: 7.938 kB / 1.289 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.51e-05/0.3073, allocations: 92.64 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3073, allocations: 0 / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002941/0.3076, allocations: 35.94 kB / 1.29 GB, free: 5.871 MB / 0.9825 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.0004002/0.308, allocations: 176.4 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000247/0.3082, allocations: 71.89 kB / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3082, allocations: 0 / 1.29 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.557e-05/0.3083, allocations: 31.92 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3085, allocations: 14.17 kB / 1.29 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004682/0.309, allocations: 223.1 kB / 1.29 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.349e-05/0.3091, allocations: 71.28 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.3091, allocations: 15.42 kB / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3091, allocations: 0 / 1.29 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of Templates: time 0.003783/0.3129, allocations: 1.677 MB / 1.292 GB, free: 3.57 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.494858362711966]