Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.001006/0.001006, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009802/0.0009802, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.9255/0.9255, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.792/1.792, allocations: 359 MB / 0.6055 GB, free: 10.85 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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.7875 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.252e-05, allocations: 8.641 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002949/0.002981, allocations: 1.56 MB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.004367, allocations: 0.7814 MB / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.004435, allocations: 0 / 0.7898 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.004468, allocations: 3.938 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.578e-05/0.004534, allocations: 17.06 kB / 0.7898 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006411/0.005175, allocations: 147.4 kB / 0.79 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.005303, allocations: 79.7 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.953e-05/0.005393, allocations: 9.859 kB / 0.7901 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.00556, allocations: 55.88 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.005621, allocations: 27.91 kB / 0.7902 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.005642, allocations: 4 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003902/0.006033, allocations: 144.6 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/0.006063, allocations: 19.91 kB / 0.7903 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.006101, allocations: 17.05 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.006336, allocations: 147.5 kB / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.00634, allocations: 0 / 0.7905 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.373e-06/0.006341, allocations: 5.594 kB / 0.7905 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.006345, allocations: 3.938 kB / 0.7905 GB, free: 9.184 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.0005733/0.006918, allocations: 453.8 kB / 0.7909 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.006952, allocations: 9.562 kB / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.007127, allocations: 28.88 kB / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.007248, allocations: 135.2 kB / 0.7911 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.007268, allocations: 12.36 kB / 0.7911 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.629e-06/0.007277, allocations: 4.375 kB / 0.7911 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.905e-05/0.007376, allocations: 66.92 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.007383, allocations: 192 / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.007392, allocations: 8.125 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.007397, allocations: 0 / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.007421, allocations: 15.92 kB / 0.7912 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.00771, allocations: 278.7 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.007762, allocations: 31.06 kB / 0.7915 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.282e-05/0.007785, allocations: 23.8 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.007806, allocations: 5.328 kB / 0.7915 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.282e-05/0.007879, allocations: 72.98 kB / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.007881, allocations: 0 / 0.7916 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001756/0.008056, allocations: 99.36 kB / 0.7917 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.008083, allocations: 55.41 kB / 0.7917 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.214e-05/0.008155, allocations: 177.9 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.008166, allocations: 29.7 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.00821, allocations: 138.8 kB / 0.7921 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.008226, allocations: 21.02 kB / 0.7921 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.008261, allocations: 35.34 kB / 0.7921 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.896e-05/0.00836, allocations: 496.1 kB / 0.7926 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.804e-05/0.008378, allocations: 21.67 kB / 0.7926 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.008409, allocations: 39.03 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.609e-05/0.008455, allocations: 47.06 kB / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.008457, allocations: 1.938 kB / 0.7927 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.861e-05/0.008545, allocations: 89.48 kB / 0.7928 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.008556, allocations: 8.719 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.008561, allocations: 4 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.008574, allocations: 4.656 kB / 0.7928 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.008632, allocations: 15.98 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.008635, allocations: 0.9219 kB / 0.7928 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.947e-05/0.008664, allocations: 12.67 kB / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.008676, allocations: 3.984 kB / 0.7928 GB, free: 6.574 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 6.853e-05/0.008745, allocations: 168 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.008757, allocations: 15.89 kB / 0.793 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.008778, allocations: 8.438 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.008779, allocations: 3.938 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.008782, allocations: 4.531 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.008784, allocations: 1.375 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.008991, allocations: 326 kB / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.008993, allocations: 0 / 0.7933 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.00901, allocations: 4 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.009012, allocations: 1.156 kB / 0.7933 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.009019, allocations: 7.984 kB / 0.7933 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.00902, allocations: 4 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.009022, allocations: 4.781 kB / 0.7933 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.009142, allocations: 231.8 kB / 0.7936 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-06/0.009148, allocations: 4.859 kB / 0.7936 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.009157, allocations: 4 kB / 0.7936 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-05/0.009196, allocations: 9.266 kB / 0.7936 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/0.009221, allocations: 8 kB / 0.7936 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.009226, allocations: 3.984 kB / 0.7936 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.009261, allocations: 135.2 kB / 0.7937 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009261, allocations: 0.6562 kB / 0.7937 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000171/0.009432, allocations: 39.94 kB / 0.7938 GB, free: 5.559 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.0002706/0.009702, allocations: 178.5 kB / 0.7939 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003682/0.01007, allocations: 52.45 kB / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01007, allocations: 0 / 0.794 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.515e-05/0.01012, allocations: 31.05 kB / 0.794 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.01032, allocations: 19.92 kB / 0.794 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.01076, allocations: 183.6 kB / 0.7942 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.839e-05/0.01078, allocations: 55.36 kB / 0.7943 GB, free: 5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.44e-05/0.01081, allocations: 8.609 kB / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.491e-05/0.01085, allocations: 74.7 kB / 0.7943 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.01085, allocations: 1.344 kB / 0.7943 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.002972/0.01383, allocations: 1.677 MB / 0.796 GB, free: 3.27 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.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: 4.892709019128233]