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.001365/0.001365, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.00114/0.00114, allocations: 170.3 kB / 24.87 MB, free: 8.125 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 0.9526/0.9526, allocations: 177.1 MB / 205.3 MB, free: 5.18 MB / 186.7 MB " [Timeout remaining time 179] 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 1.911/1.911, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] 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.753e-06/1.753e-06, allocations: 0 / 0.7883 GB, free: 11.12 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.368e-05, allocations: 3.859 kB / 0.7883 GB, free: 11.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002106/0.002129, allocations: 1.639 MB / 0.7899 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.003219, allocations: 0.8368 MB / 0.7907 GB, free: 8.645 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.598e-05/0.003285, allocations: 0 / 0.7907 GB, free: 8.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.003316, allocations: 7.875 kB / 0.7907 GB, free: 8.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.125e-05/0.003387, allocations: 29.28 kB / 0.7907 GB, free: 8.609 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/0.004009, allocations: 175.3 kB / 0.7909 GB, free: 8.438 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.004152, allocations: 140.4 kB / 0.791 GB, free: 8.301 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.014e-05/0.004242, allocations: 25.48 kB / 0.7911 GB, free: 8.273 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.00441, allocations: 88.67 kB / 0.7911 GB, free: 8.188 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.652e-05/0.004486, allocations: 55.84 kB / 0.7912 GB, free: 8.133 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.341e-05/0.00451, allocations: 14.16 kB / 0.7912 GB, free: 8.121 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.00473, allocations: 143.7 kB / 0.7914 GB, free: 7.98 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.004758, allocations: 31.89 kB / 0.7914 GB, free: 7.949 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.004801, allocations: 39.89 kB / 0.7914 GB, free: 7.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.005026, allocations: 195.4 kB / 0.7916 GB, free: 7.719 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.005028, allocations: 0 / 0.7916 GB, free: 7.719 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.82e-07/0.005029, allocations: 5.062 kB / 0.7916 GB, free: 7.715 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005034, allocations: 3.938 kB / 0.7916 GB, free: 7.711 MB / 0.698 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.0005026/0.005536, allocations: 0.5042 MB / 0.7921 GB, free: 7.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.00557, allocations: 8.031 kB / 0.7921 GB, free: 7.152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003419/0.005912, allocations: 74.77 kB / 0.7922 GB, free: 7.082 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.006069, allocations: 153.1 kB / 0.7923 GB, free: 6.91 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.006088, allocations: 8.359 kB / 0.7923 GB, free: 6.902 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.006104, allocations: 8.375 kB / 0.7923 GB, free: 6.895 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.006235, allocations: 82.89 kB / 0.7924 GB, free: 6.805 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.006244, allocations: 192 / 0.7924 GB, free: 6.805 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.006255, allocations: 4.938 kB / 0.7924 GB, free: 6.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.00626, allocations: 3.938 kB / 0.7924 GB, free: 6.797 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.749e-05/0.006298, allocations: 25.48 kB / 0.7925 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004317/0.00673, allocations: 312.3 kB / 0.7928 GB, free: 6.441 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.31e-05/0.006803, allocations: 44.8 kB / 0.7928 GB, free: 6.387 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.006833, allocations: 19.67 kB / 0.7928 GB, free: 6.363 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.006847, allocations: 4 kB / 0.7928 GB, free: 6.359 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.406e-05/0.006941, allocations: 89.91 kB / 0.7929 GB, free: 6.258 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.006943, allocations: 0 / 0.7929 GB, free: 6.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002415/0.007184, allocations: 138.1 kB / 0.793 GB, free: 6.117 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.007223, allocations: 55.41 kB / 0.7931 GB, free: 6.051 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.007319, allocations: 207.8 kB / 0.7933 GB, free: 5.832 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.007334, allocations: 25.7 kB / 0.7933 GB, free: 5.801 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.007392, allocations: 155 kB / 0.7935 GB, free: 5.641 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.007412, allocations: 19.84 kB / 0.7935 GB, free: 5.621 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.007457, allocations: 39.34 kB / 0.7935 GB, free: 5.574 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.007565, allocations: 0.4985 MB / 0.794 GB, free: 5.066 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.646e-05/0.007591, allocations: 11.98 kB / 0.794 GB, free: 5.055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.032e-05/0.007642, allocations: 69.73 kB / 0.7941 GB, free: 4.969 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.923e-05/0.007721, allocations: 78.34 kB / 0.7942 GB, free: 4.871 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007723, allocations: 0.7188 kB / 0.7942 GB, free: 4.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000141/0.007864, allocations: 114 kB / 0.7943 GB, free: 4.754 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.007877, allocations: 11.38 kB / 0.7943 GB, free: 4.746 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.007884, allocations: 4 kB / 0.7943 GB, free: 4.742 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.007893, allocations: 4 kB / 0.7943 GB, free: 4.738 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.827e-05/0.007981, allocations: 19.98 kB / 0.7943 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.007984, allocations: 0.6562 kB / 0.7943 GB, free: 4.719 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.008033, allocations: 19.88 kB / 0.7943 GB, free: 4.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.008044, allocations: 5.25 kB / 0.7943 GB, free: 4.695 MB / 0.698 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 8.029e-05/0.008124, allocations: 165.7 kB / 0.7945 GB, free: 4.523 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.008144, allocations: 15.89 kB / 0.7945 GB, free: 4.508 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.008174, allocations: 16.88 kB / 0.7945 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.008176, allocations: 5.312 kB / 0.7945 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.008178, allocations: 0 / 0.7945 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.008181, allocations: 0 / 0.7945 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.008493, allocations: 374 kB / 0.7949 GB, free: 4.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.008495, allocations: 4.844 kB / 0.7949 GB, free: 4.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.008528, allocations: 11.98 kB / 0.7949 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.008531, allocations: 0.8438 kB / 0.7949 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.008538, allocations: 0 / 0.7949 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.008539, allocations: 0 / 0.7949 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.00854, allocations: 1.281 kB / 0.7949 GB, free: 4.074 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.008726, allocations: 279.7 kB / 0.7952 GB, free: 3.781 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.068e-05/0.008737, allocations: 15.83 kB / 0.7952 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.008754, allocations: 0.75 kB / 0.7952 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.939e-05/0.008813, allocations: 11.98 kB / 0.7952 GB, free: 3.754 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/0.008846, allocations: 8.859 kB / 0.7952 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.008854, allocations: 4 kB / 0.7952 GB, free: 3.742 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.7e-05/0.008901, allocations: 154.9 kB / 0.7954 GB, free: 3.594 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.008902, allocations: 0 / 0.7954 GB, free: 3.594 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002401/0.009142, allocations: 43.94 kB / 0.7954 GB, free: 3.551 MB / 0.698 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.0002916/0.009433, allocations: 172.9 kB / 0.7956 GB, free: 3.395 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.009562, allocations: 63.58 kB / 0.7956 GB, free: 3.328 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009563, allocations: 0 / 0.7956 GB, free: 3.328 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.00961, allocations: 35.61 kB / 0.7957 GB, free: 3.289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.009815, allocations: 23.91 kB / 0.7957 GB, free: 3.266 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005153/0.01033, allocations: 219.9 kB / 0.7959 GB, free: 3.023 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.934e-05/0.01037, allocations: 72.11 kB / 0.796 GB, free: 2.934 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.01041, allocations: 8.203 kB / 0.796 GB, free: 2.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.436e-05/0.01047, allocations: 82.19 kB / 0.796 GB, free: 2.848 MB / 0.698 GB Notification: Performance of SimCode: time 8.21e-07/0.01047, allocations: 3.938 kB / 0.796 GB, free: 2.844 MB / 0.698 GB Notification: Performance of Templates: time 0.003939/0.01441, allocations: 2.301 MB / 0.7983 GB, free: 0.5781 MB / 0.698 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.095312236342579]