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.002477/0.002477, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002879/0.002879, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 178] 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 2.899/2.899, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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.523e-06/1.523e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.25e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003179/0.003211, allocations: 1.525 MB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.004905, allocations: 0.7731 MB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.004958, allocations: 0 / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.004989, allocations: 5 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.005062, allocations: 15.86 kB / 0.7886 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.005744, allocations: 148.9 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.005896, allocations: 87.69 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.005984, allocations: 8.125 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.006163, allocations: 53.25 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.006237, allocations: 31.89 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.00626, allocations: 4 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.006576, allocations: 144.9 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.006609, allocations: 19.92 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.305e-05/0.006662, allocations: 23.97 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.007001, allocations: 163.5 kB / 0.7892 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.007004, allocations: 4.875 kB / 0.7893 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.007005, allocations: 0 / 0.7893 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.00701, allocations: 0.8438 kB / 0.7893 GB, free: 9.883 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.0007732/0.007783, allocations: 452 kB / 0.7897 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.007824, allocations: 8.031 kB / 0.7897 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.008181, allocations: 36.86 kB / 0.7897 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.008408, allocations: 132.5 kB / 0.7899 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.008437, allocations: 4.375 kB / 0.7899 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.008454, allocations: 6.125 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.008651, allocations: 70.16 kB / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.00866, allocations: 192 / 0.7899 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.008674, allocations: 4.125 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.008679, allocations: 0.5938 kB / 0.7899 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.008816, allocations: 36.69 kB / 0.79 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/0.009483, allocations: 312.2 kB / 0.7903 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.009629, allocations: 48.7 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.009718, allocations: 39.73 kB / 0.7904 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.009745, allocations: 3.938 kB / 0.7904 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.00993, allocations: 81.62 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.009931, allocations: 0.7812 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004693/0.0104, allocations: 143 kB / 0.7906 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.01047, allocations: 59.34 kB / 0.7906 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.01065, allocations: 188.3 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.01068, allocations: 35.08 kB / 0.7908 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01082, allocations: 134.9 kB / 0.791 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.01085, allocations: 19.84 kB / 0.791 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.01092, allocations: 35.36 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003172/0.01124, allocations: 0.4979 MB / 0.7915 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.01133, allocations: 27.92 kB / 0.7915 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.01145, allocations: 54.98 kB / 0.7916 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.01163, allocations: 88.69 kB / 0.7917 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01163, allocations: 0 / 0.7917 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002771/0.01191, allocations: 124.2 kB / 0.7918 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01192, allocations: 4 kB / 0.7918 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.01194, allocations: 8 kB / 0.7918 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.01195, allocations: 0 / 0.7918 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.01206, allocations: 11.98 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01206, allocations: 4 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.01213, allocations: 12.45 kB / 0.7918 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01214, allocations: 0.5312 kB / 0.7918 GB, free: 7.027 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 0.0002103/0.01235, allocations: 174.4 kB / 0.792 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.01238, allocations: 11.89 kB / 0.792 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.01241, allocations: 8.438 kB / 0.792 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01241, allocations: 4 kB / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01241, allocations: 2.594 kB / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01242, allocations: 0 / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005391/0.01296, allocations: 377.3 kB / 0.7924 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01296, allocations: 7.938 kB / 0.7924 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.01299, allocations: 0 / 0.7924 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01299, allocations: 0 / 0.7924 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.01301, allocations: 7.984 kB / 0.7924 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01301, allocations: 0.5312 kB / 0.7924 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01301, allocations: 0.8438 kB / 0.7924 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.01339, allocations: 271.8 kB / 0.7927 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.0134, allocations: 12.73 kB / 0.7927 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.01342, allocations: 0 / 0.7927 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.01351, allocations: 9.266 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.01356, allocations: 0 / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.01357, allocations: 7.984 kB / 0.7927 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001167/0.01369, allocations: 147.5 kB / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01369, allocations: 0 / 0.7928 GB, free: 5.949 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003182/0.01401, allocations: 39.88 kB / 0.7929 GB, free: 5.91 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.0005287/0.01454, allocations: 163.8 kB / 0.793 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.01482, allocations: 86.78 kB / 0.7931 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01482, allocations: 0 / 0.7931 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.01493, allocations: 39.81 kB / 0.7931 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.0152, allocations: 17.42 kB / 0.7932 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.01572, allocations: 194.7 kB / 0.7933 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.725e-05/0.01582, allocations: 77.2 kB / 0.7934 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.687e-05/0.01585, allocations: 4 kB / 0.7934 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.0159, allocations: 17.45 kB / 0.7934 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of SimCode: time 4.3e-07/0.0159, allocations: 0 / 0.7934 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of Templates: time 0.005576/0.02147, allocations: 1.511 MB / 0.7949 GB, free: 3.801 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","/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: 7.933198051992804]