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.001769/0.001769, allocations: 84.41 kB / 20.23 MB, free: 4.191 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.001722/0.001722, allocations: 157.7 kB / 23.54 MB, free: 0.8867 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.494/1.494, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.824/2.824, allocations: 359 MB / 0.6048 GB, free: 10.93 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.442e-06/1.442e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.412e-05/3.557e-05, allocations: 7.719 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan): time 0.003007/0.003043, allocations: 1.493 MB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.004675, allocations: 0.7699 MB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.004736, allocations: 3.938 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.958e-05/0.004765, allocations: 4.812 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.004827, allocations: 15.84 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006548/0.005482, allocations: 149 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.005629, allocations: 79.7 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.983e-05/0.005708, allocations: 8.188 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.005869, allocations: 52.5 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.00608, allocations: 31.89 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.006103, allocations: 8.688 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.006413, allocations: 140.6 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.006442, allocations: 19.92 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.00649, allocations: 19.97 kB / 0.7891 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.006818, allocations: 172.1 kB / 0.7892 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.006821, allocations: 0 / 0.7892 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.006821, allocations: 1.656 kB / 0.7892 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.868e-06/0.006825, allocations: 0 / 0.7892 GB, free: 9.898 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.0006399/0.007465, allocations: 347.5 kB / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.007503, allocations: 13.47 kB / 0.7896 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/0.007859, allocations: 40.86 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.008096, allocations: 131.2 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.008121, allocations: 8.359 kB / 0.7897 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.008141, allocations: 8.375 kB / 0.7897 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.008325, allocations: 62.22 kB / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.008332, allocations: 3.625 kB / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.008345, allocations: 8.125 kB / 0.7898 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.008349, allocations: 0 / 0.7898 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.008492, allocations: 35.97 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.00907, allocations: 252.4 kB / 0.7901 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.009206, allocations: 43.12 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.009299, allocations: 33.56 kB / 0.7902 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.009322, allocations: 8.641 kB / 0.7902 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.009497, allocations: 72.61 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.009498, allocations: 0 / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.00046/0.009958, allocations: 146.3 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.01001, allocations: 55.41 kB / 0.7904 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.01014, allocations: 127.2 kB / 0.7906 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.01017, allocations: 25.7 kB / 0.7906 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.177e-05/0.01024, allocations: 88.14 kB / 0.7907 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.01027, allocations: 20.78 kB / 0.7907 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.01033, allocations: 29.7 kB / 0.7907 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.01051, allocations: 319.4 kB / 0.791 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.01061, allocations: 25.08 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.01073, allocations: 54.56 kB / 0.7911 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.01092, allocations: 76.48 kB / 0.7912 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01092, allocations: 4 kB / 0.7912 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002938/0.01122, allocations: 123.7 kB / 0.7913 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01123, allocations: 4 kB / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01124, allocations: 4 kB / 0.7913 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.01125, allocations: 0 / 0.7913 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.01135, allocations: 15.92 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01135, allocations: 2.781 kB / 0.7913 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.01142, allocations: 7.953 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.01144, allocations: 7.984 kB / 0.7913 GB, free: 7.559 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.0001132/0.01155, allocations: 120.3 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.429e-05/0.01159, allocations: 19.88 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.958e-05/0.01161, allocations: 6 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.01161, allocations: 0 / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01161, allocations: 4 kB / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01162, allocations: 3.984 kB / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005147/0.01213, allocations: 326.6 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01213, allocations: 0.5625 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.01218, allocations: 4.562 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01218, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.01219, allocations: 5.375 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.01219, allocations: 4 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.01219, allocations: 3.984 kB / 0.7918 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.01256, allocations: 220 kB / 0.792 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.01257, allocations: 13.8 kB / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.01259, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-05/0.01268, allocations: 3.984 kB / 0.792 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.01273, allocations: 7.984 kB / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.01274, allocations: 4 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.022e-05/0.01282, allocations: 95.89 kB / 0.7921 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01282, allocations: 3.938 kB / 0.7921 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003179/0.01314, allocations: 36.59 kB / 0.7922 GB, free: 6.645 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.0004439/0.01358, allocations: 164.5 kB / 0.7923 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.01385, allocations: 72.97 kB / 0.7924 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01385, allocations: 1.156 kB / 0.7924 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.01396, allocations: 36.11 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.01424, allocations: 19.83 kB / 0.7925 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.01471, allocations: 184.9 kB / 0.7926 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.0148, allocations: 71.33 kB / 0.7927 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.103e-05/0.01484, allocations: 7.984 kB / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.707e-05/0.01488, allocations: 12.5 kB / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/0.01488, allocations: 0 / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of Templates: time 0.005036/0.01991, allocations: 1.516 MB / 0.7942 GB, free: 4.574 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=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: 7.771393826929852]