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.001866/0.001866, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002258/0.002258, allocations: 165.3 kB / 23.55 MB, free: 0.8633 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.476/1.476, 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 3.084/3.084, allocations: 359 MB / 0.6048 GB, free: 10.95 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 1.953e-06/1.953e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.69e-05, allocations: 7.062 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK): time 0.004091/0.004128, allocations: 1.494 MB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002144/0.006272, allocations: 0.7705 MB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.006332, allocations: 0 / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.006372, allocations: 4.688 kB / 0.7886 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.006457, allocations: 15.84 kB / 0.7886 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007891/0.007246, allocations: 148.1 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.00743, allocations: 80.33 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.621e-05/0.007526, allocations: 9.109 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.007726, allocations: 51.89 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.589e-05/0.007812, allocations: 32.95 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.007843, allocations: 11.94 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.008257, allocations: 135.7 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.281e-05/0.0083, allocations: 21.22 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.008374, allocations: 23.92 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.008782, allocations: 171.4 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.008785, allocations: 1.438 kB / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.008787, allocations: 0 / 0.7892 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.008791, allocations: 0 / 0.7892 GB, free: 9.895 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.0008573/0.009649, allocations: 344.8 kB / 0.7896 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.009695, allocations: 12.03 kB / 0.7896 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005/0.0102, allocations: 37.42 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.01051, allocations: 133.8 kB / 0.7897 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.01054, allocations: 4.375 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.01057, allocations: 12.36 kB / 0.7897 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.01083, allocations: 67.17 kB / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.01084, allocations: 192 / 0.7898 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.01086, allocations: 4.125 kB / 0.7898 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.01087, allocations: 4.875 kB / 0.7898 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.01107, allocations: 37 kB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007732/0.01184, allocations: 252.9 kB / 0.7901 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.01203, allocations: 43.28 kB / 0.7901 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.01216, allocations: 30.62 kB / 0.7902 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.01221, allocations: 11.92 kB / 0.7902 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.01244, allocations: 67.39 kB / 0.7902 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.01244, allocations: 5.125 kB / 0.7902 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0006283/0.01307, allocations: 145.6 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.01314, allocations: 61 kB / 0.7904 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.01331, allocations: 122.1 kB / 0.7906 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.01334, allocations: 25.7 kB / 0.7906 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.01343, allocations: 92.22 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.01347, allocations: 17.05 kB / 0.7907 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.01355, allocations: 33.7 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002277/0.01378, allocations: 318.8 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.0139, allocations: 31.02 kB / 0.7911 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.01405, allocations: 50.48 kB / 0.7911 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.0143, allocations: 66.56 kB / 0.7912 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.01431, allocations: 0 / 0.7912 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003744/0.01468, allocations: 126.9 kB / 0.7913 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.0147, allocations: 7.938 kB / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01471, allocations: 0.5312 kB / 0.7913 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.01473, allocations: 5.281 kB / 0.7913 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.01486, allocations: 19.92 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.01487, allocations: 0 / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.535e-05/0.01496, allocations: 8.484 kB / 0.7913 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.01499, allocations: 11.98 kB / 0.7913 GB, free: 7.551 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.0001361/0.01512, allocations: 115.2 kB / 0.7915 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.01516, allocations: 15.89 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.0152, allocations: 9.594 kB / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.0152, allocations: 0 / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.0152, allocations: 0 / 0.7915 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.01521, allocations: 5.047 kB / 0.7915 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.01586, allocations: 326.1 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01586, allocations: 1.75 kB / 0.7918 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.01591, allocations: 4 kB / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.01592, allocations: 0 / 0.7918 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.01593, allocations: 4 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01594, allocations: 0 / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.01594, allocations: 6.109 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.01639, allocations: 219.3 kB / 0.792 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.01641, allocations: 7.891 kB / 0.792 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.01644, allocations: 4 kB / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.01657, allocations: 4.578 kB / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.01662, allocations: 8 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.01664, allocations: 7.422 kB / 0.792 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.416e-05/0.01673, allocations: 97.64 kB / 0.7921 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.01673, allocations: 0 / 0.7921 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004936/0.01722, allocations: 35.94 kB / 0.7922 GB, free: 6.652 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.0005493/0.01777, allocations: 175.3 kB / 0.7923 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.01813, allocations: 73.94 kB / 0.7924 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01813, allocations: 0 / 0.7924 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.01828, allocations: 35.92 kB / 0.7924 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.01869, allocations: 18 kB / 0.7925 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005808/0.01927, allocations: 178.7 kB / 0.7926 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.01937, allocations: 75.33 kB / 0.7927 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.155e-05/0.01942, allocations: 9.438 kB / 0.7927 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.01947, allocations: 13.31 kB / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of SimCode: time 5.41e-07/0.01947, allocations: 0 / 0.7927 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of Templates: time 0.006913/0.02638, allocations: 1.516 MB / 0.7942 GB, free: 4.578 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1) [Timeout 400] 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: 7.984503376064822]