Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.001907/0.001907, allocations: 76.41 kB / 20.23 MB, free: 4.203 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.002693/0.002693, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.506/1.506, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.956/2.956, 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.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.962e-05, allocations: 10.34 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003456/0.003486, allocations: 1.602 MB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.005356, allocations: 0.8172 MB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.005444, allocations: 9.344 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.385e-05/0.005488, allocations: 7.875 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.385e-05/0.005582, allocations: 15.8 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.006443, allocations: 184.7 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002409/0.006684, allocations: 143.5 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.00679, allocations: 18.83 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.007025, allocations: 83.86 kB / 0.7892 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.007148, allocations: 59.84 kB / 0.7892 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.007186, allocations: 13.62 kB / 0.7892 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003535/0.007539, allocations: 143.6 kB / 0.7894 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.007586, allocations: 31.89 kB / 0.7894 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.381e-05/0.00766, allocations: 43.88 kB / 0.7894 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000424/0.008084, allocations: 232.6 kB / 0.7897 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.008087, allocations: 3.938 kB / 0.7897 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.41e-07/0.008087, allocations: 0 / 0.7897 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.008093, allocations: 0.6875 kB / 0.7897 GB, free: 9.445 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008625/0.008955, allocations: 410 kB / 0.7901 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.008995, allocations: 12.03 kB / 0.7901 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.009706, allocations: 75.94 kB / 0.7901 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.009996, allocations: 145.6 kB / 0.7903 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.01002, allocations: 15.64 kB / 0.7903 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.01005, allocations: 8.375 kB / 0.7903 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.01032, allocations: 90.19 kB / 0.7904 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.01033, allocations: 4.188 kB / 0.7904 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.01034, allocations: 384 / 0.7904 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.01035, allocations: 3.938 kB / 0.7904 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.01058, allocations: 59.95 kB / 0.7905 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.01168, allocations: 302.7 kB / 0.7908 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.01187, allocations: 58.55 kB / 0.7908 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.01202, allocations: 50.36 kB / 0.7909 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.01204, allocations: 7.938 kB / 0.7909 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.01228, allocations: 100.8 kB / 0.791 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.01229, allocations: 0 / 0.791 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0006868/0.01297, allocations: 223 kB / 0.7912 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.01303, allocations: 59.34 kB / 0.7912 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01319, allocations: 149 kB / 0.7914 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.01322, allocations: 30.7 kB / 0.7914 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.01332, allocations: 104.3 kB / 0.7915 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.01336, allocations: 23.83 kB / 0.7915 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.01343, allocations: 30.23 kB / 0.7915 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.01361, allocations: 323.4 kB / 0.7919 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.01375, allocations: 41 kB / 0.7919 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.01392, allocations: 75.02 kB / 0.792 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.01423, allocations: 114.8 kB / 0.7921 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.01424, allocations: 3.984 kB / 0.7921 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004535/0.01469, allocations: 167.5 kB / 0.7922 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.01471, allocations: 4 kB / 0.7922 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.01472, allocations: 4 kB / 0.7922 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.01474, allocations: 0.8125 kB / 0.7923 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.01491, allocations: 24.92 kB / 0.7923 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.01493, allocations: 4 kB / 0.7923 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.01506, allocations: 17.28 kB / 0.7923 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.01508, allocations: 4 kB / 0.7923 GB, free: 6.566 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001717/0.01525, allocations: 125.2 kB / 0.7924 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.0153, allocations: 19.88 kB / 0.7924 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.01534, allocations: 12.78 kB / 0.7924 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.01534, allocations: 6.344 kB / 0.7925 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.01535, allocations: 0 / 0.7925 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.01535, allocations: 112 / 0.7925 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.01616, allocations: 413.8 kB / 0.7928 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01616, allocations: 3.438 kB / 0.7929 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.884e-05/0.01624, allocations: 11.98 kB / 0.7929 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01624, allocations: 0 / 0.7929 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.01626, allocations: 0 / 0.7929 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01626, allocations: 0 / 0.7929 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01626, allocations: 0 / 0.7929 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.01683, allocations: 283.2 kB / 0.7931 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.01686, allocations: 7.953 kB / 0.7931 GB, free: 5.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.01689, allocations: 4.75 kB / 0.7931 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.01703, allocations: 12.48 kB / 0.7932 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.0171, allocations: 3.984 kB / 0.7932 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.01712, allocations: 4.562 kB / 0.7932 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001133/0.01723, allocations: 113.8 kB / 0.7933 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01723, allocations: 0 / 0.7933 GB, free: 5.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003761/0.01761, allocations: 49.33 kB / 0.7933 GB, free: 5.473 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0005703/0.01818, allocations: 167.4 kB / 0.7935 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.01859, allocations: 113.1 kB / 0.7936 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01859, allocations: 2.031 kB / 0.7936 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.01876, allocations: 51.97 kB / 0.7936 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.01912, allocations: 20.05 kB / 0.7937 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006135/0.01974, allocations: 230.2 kB / 0.7939 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01984, allocations: 84.31 kB / 0.794 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003271/0.02017, allocations: 9.656 kB / 0.794 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.02022, allocations: 16.5 kB / 0.794 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of SimCode: time 6.21e-07/0.02022, allocations: 1.062 kB / 0.794 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of Templates: time 0.006083/0.0263, allocations: 2.047 MB / 0.796 GB, free: 2.742 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.9648749510524794]