Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.0009101/0.0009101, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00132/0.00132, allocations: 165 kB / 23.82 MB, free: 0.75 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.9307/0.9307, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.721/1.721, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.69e-05, allocations: 2.812 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001767/0.001784, allocations: 1.557 MB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.002774, allocations: 0.7917 MB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.00282, allocations: 7.938 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.002845, allocations: 4.562 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.002887, allocations: 9.281 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.003994, allocations: 147.4 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.866e-05/0.004093, allocations: 71.78 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.004177, allocations: 17 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.004283, allocations: 47.89 kB / 0.7897 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.004327, allocations: 36.45 kB / 0.7897 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.004342, allocations: 4.688 kB / 0.7897 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.004513, allocations: 143.6 kB / 0.7898 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.004529, allocations: 16.88 kB / 0.7899 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.004558, allocations: 23.92 kB / 0.7899 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.004733, allocations: 152.2 kB / 0.79 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.004735, allocations: 0 / 0.79 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004736, allocations: 0.7188 kB / 0.79 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.004739, allocations: 0 / 0.79 GB, free: 9.461 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.0004084/0.005148, allocations: 447.5 kB / 0.7905 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.005176, allocations: 11.97 kB / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.005355, allocations: 30.22 kB / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.005483, allocations: 144.4 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.0055, allocations: 8.375 kB / 0.7906 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.005511, allocations: 5.969 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.005624, allocations: 70.92 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.00563, allocations: 192 / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.00564, allocations: 4.125 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.005646, allocations: 1 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.418e-05/0.00568, allocations: 19.97 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.006005, allocations: 302.9 kB / 0.791 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/0.006063, allocations: 43.05 kB / 0.7911 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.222e-05/0.006095, allocations: 15.69 kB / 0.7911 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.00611, allocations: 4.062 kB / 0.7911 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.788e-05/0.006178, allocations: 73.03 kB / 0.7912 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.031e-06/0.006179, allocations: 0 / 0.7912 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001992/0.006378, allocations: 109.8 kB / 0.7913 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.006408, allocations: 55.92 kB / 0.7913 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.486e-05/0.006483, allocations: 181.1 kB / 0.7915 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.006495, allocations: 25.7 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.006541, allocations: 147.9 kB / 0.7917 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.006557, allocations: 11.91 kB / 0.7917 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.006593, allocations: 35.36 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.006692, allocations: 0.4889 MB / 0.7922 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.006716, allocations: 8.531 kB / 0.7922 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.064e-05/0.006757, allocations: 44.42 kB / 0.7922 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.032e-05/0.006817, allocations: 58.98 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006819, allocations: 1.156 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001003/0.006919, allocations: 97.44 kB / 0.7924 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.00693, allocations: 4.938 kB / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.006934, allocations: 0 / 0.7924 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.006947, allocations: 4 kB / 0.7924 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.199e-05/0.007009, allocations: 17.52 kB / 0.7924 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.007019, allocations: 4 kB / 0.7924 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.97e-05/0.007049, allocations: 7.953 kB / 0.7924 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.007058, allocations: 4 kB / 0.7924 GB, free: 6.793 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.989e-05/0.007128, allocations: 162.8 kB / 0.7926 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.007141, allocations: 19.89 kB / 0.7926 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.007159, allocations: 8.422 kB / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.007161, allocations: 0 / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007164, allocations: 0 / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.007167, allocations: 3.438 kB / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.007389, allocations: 357.3 kB / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.00739, allocations: 0 / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.007407, allocations: 4 kB / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.007408, allocations: 0 / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.007416, allocations: 3.984 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.007417, allocations: 0 / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007418, allocations: 0 / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.007549, allocations: 247.7 kB / 0.7932 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.416e-06/0.007557, allocations: 12.61 kB / 0.7932 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.00757, allocations: 4 kB / 0.7932 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.007608, allocations: 8.484 kB / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.007638, allocations: 0.5625 kB / 0.7932 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.007646, allocations: 7.984 kB / 0.7932 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.007686, allocations: 135.7 kB / 0.7933 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007686, allocations: 1.406 kB / 0.7933 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001936/0.007879, allocations: 35.94 kB / 0.7934 GB, free: 5.742 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.0002725/0.008152, allocations: 182.2 kB / 0.7936 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.008259, allocations: 59.58 kB / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008261, allocations: 0.9375 kB / 0.7936 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.008297, allocations: 23.67 kB / 0.7936 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.008465, allocations: 26.8 kB / 0.7937 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.008927, allocations: 184.9 kB / 0.7938 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.00897, allocations: 59.36 kB / 0.7939 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.008993, allocations: 4.922 kB / 0.7939 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.009016, allocations: 12.5 kB / 0.7939 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of SimCode: time 5.62e-07/0.009017, allocations: 2.125 kB / 0.7939 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of Templates: time 0.003058/0.01207, allocations: 1.667 MB / 0.7955 GB, free: 3.512 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.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.823521167039871]