Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.002645/0.002645, allocations: 83.69 kB / 20.23 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.00307/0.00307, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.915/2.915, allocations: 359 MB / 0.6048 GB, free: 10.94 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.Nicol2001WindowsUK,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.Nicol2001WindowsUK") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,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.Nicol2001WindowsUK") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.7863 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.376e-05/3.607e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.00305/0.003086, allocations: 1.513 MB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.00478, allocations: 0.7809 MB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.004837, allocations: 0 / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.401e-05/0.004871, allocations: 9.109 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.468e-05/0.004945, allocations: 11.86 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.005648, allocations: 152.2 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.005801, allocations: 75.72 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.27e-05/0.005893, allocations: 13.05 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.00607, allocations: 51.89 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.056e-05/0.006151, allocations: 38.34 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.006178, allocations: 8 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.006477, allocations: 131.7 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.306e-05/0.00651, allocations: 19.92 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.006552, allocations: 19.97 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.006858, allocations: 171.5 kB / 0.7893 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.006861, allocations: 5.688 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.252e-06/0.006862, allocations: 0 / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.006866, allocations: 0 / 0.7893 GB, free: 9.824 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.0006974/0.007563, allocations: 453.5 kB / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.007593, allocations: 12.56 kB / 0.7897 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.007911, allocations: 33.58 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.008384, allocations: 130.3 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.008407, allocations: 10.03 kB / 0.7899 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.008424, allocations: 8.359 kB / 0.7899 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.008593, allocations: 58.23 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.008602, allocations: 192 / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.008618, allocations: 12.7 kB / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.008621, allocations: 0 / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.008742, allocations: 36.7 kB / 0.79 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.009315, allocations: 308.8 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.009456, allocations: 52.42 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.009537, allocations: 27.8 kB / 0.7904 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.009559, allocations: 11.94 kB / 0.7904 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.009722, allocations: 86.72 kB / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.009723, allocations: 0 / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004405/0.01016, allocations: 137.8 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.01022, allocations: 52.62 kB / 0.7906 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.01039, allocations: 192 kB / 0.7908 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.01042, allocations: 29.7 kB / 0.7908 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.01052, allocations: 136.2 kB / 0.791 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.01056, allocations: 27.89 kB / 0.791 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.01063, allocations: 35.38 kB / 0.791 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002921/0.01092, allocations: 0.4977 MB / 0.7915 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.011, allocations: 23.98 kB / 0.7915 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.01111, allocations: 62.97 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.01129, allocations: 81.83 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01129, allocations: 0 / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002639/0.01155, allocations: 117.4 kB / 0.7918 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.01157, allocations: 8 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01158, allocations: 0.5 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01159, allocations: 3.984 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.01169, allocations: 16.53 kB / 0.7918 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.0117, allocations: 1.938 kB / 0.7918 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.248e-05/0.01176, allocations: 11.94 kB / 0.7918 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.01177, allocations: 4 kB / 0.7918 GB, free: 6.973 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.0001537/0.01193, allocations: 167.2 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.01196, allocations: 19.83 kB / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.01199, allocations: 8.438 kB / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.01199, allocations: 0 / 0.792 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.01199, allocations: 3.984 kB / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.012, allocations: 0 / 0.792 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.01254, allocations: 381.3 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.01254, allocations: 0.8438 kB / 0.7924 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.01258, allocations: 7.984 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.01258, allocations: 0.8438 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.01259, allocations: 0 / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.196e-06/0.0126, allocations: 5.219 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0126, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.01298, allocations: 267.8 kB / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.01299, allocations: 4.797 kB / 0.7927 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.01302, allocations: 11.98 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.0131, allocations: 0.7188 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.01314, allocations: 7.984 kB / 0.7927 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.01315, allocations: 6.922 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001099/0.01326, allocations: 147.1 kB / 0.7928 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01326, allocations: 0 / 0.7928 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002954/0.01356, allocations: 35.94 kB / 0.7929 GB, free: 5.859 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.0005075/0.01407, allocations: 169.2 kB / 0.793 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002565/0.01432, allocations: 79.83 kB / 0.7931 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01432, allocations: 0 / 0.7931 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.01444, allocations: 48.67 kB / 0.7931 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.01469, allocations: 18.94 kB / 0.7932 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.01513, allocations: 194.7 kB / 0.7933 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.639e-05/0.01521, allocations: 68.47 kB / 0.7934 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.01525, allocations: 9.266 kB / 0.7934 GB, free: 5.238 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.01529, allocations: 12.5 kB / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.01529, allocations: 1.875 kB / 0.7934 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of Templates: time 0.005134/0.02042, allocations: 1.516 MB / 0.7949 GB, free: 3.734 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & ./Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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: 8.057509043021128]