Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001272/0.001272, allocations: 81.86 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.00149/0.00149, allocations: 181 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.9493/0.9493, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.747/1.747, 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7875 GB, free: 11.1 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.181e-05, allocations: 2.312 kB / 0.7875 GB, free: 11.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001647/0.001659, allocations: 1.553 MB / 0.7891 GB, free: 9.551 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009159/0.002575, allocations: 0.7805 MB / 0.7898 GB, free: 8.766 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.002626, allocations: 0 / 0.7898 GB, free: 8.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.456e-05/0.00265, allocations: 4.688 kB / 0.7898 GB, free: 8.762 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.002697, allocations: 12.38 kB / 0.7898 GB, free: 8.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.00315, allocations: 144.4 kB / 0.79 GB, free: 8.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.003237, allocations: 83.7 kB / 0.7901 GB, free: 8.527 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.868e-05/0.003306, allocations: 13.41 kB / 0.7901 GB, free: 8.516 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.003412, allocations: 55.88 kB / 0.7901 GB, free: 8.461 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.003452, allocations: 27.91 kB / 0.7901 GB, free: 8.434 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.003468, allocations: 9.438 kB / 0.7902 GB, free: 8.426 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.003647, allocations: 135.7 kB / 0.7903 GB, free: 8.293 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.003668, allocations: 27.84 kB / 0.7903 GB, free: 8.266 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.003692, allocations: 19.98 kB / 0.7903 GB, free: 8.246 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.003854, allocations: 152.7 kB / 0.7905 GB, free: 8.098 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003856, allocations: 0 / 0.7905 GB, free: 8.098 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003856, allocations: 0 / 0.7905 GB, free: 8.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.00386, allocations: 4.609 kB / 0.7905 GB, free: 8.094 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003698/0.00423, allocations: 450.9 kB / 0.7909 GB, free: 7.613 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.00426, allocations: 8.031 kB / 0.7909 GB, free: 7.605 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.004422, allocations: 37.77 kB / 0.791 GB, free: 7.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.004549, allocations: 131.1 kB / 0.7911 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.004563, allocations: 5.438 kB / 0.7911 GB, free: 7.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.004571, allocations: 4.375 kB / 0.7911 GB, free: 7.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.004661, allocations: 74.91 kB / 0.7912 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.004667, allocations: 0.6875 kB / 0.7912 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.004675, allocations: 5.375 kB / 0.7912 GB, free: 7.324 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.004679, allocations: 3.938 kB / 0.7912 GB, free: 7.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.004702, allocations: 11.98 kB / 0.7912 GB, free: 7.309 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.00497, allocations: 283.4 kB / 0.7915 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.484e-05/0.005015, allocations: 39.03 kB / 0.7915 GB, free: 6.957 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.94e-05/0.005034, allocations: 15.81 kB / 0.7915 GB, free: 6.938 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.005049, allocations: 4 kB / 0.7915 GB, free: 6.934 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/0.005111, allocations: 76.88 kB / 0.7916 GB, free: 6.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005112, allocations: 0.7188 kB / 0.7916 GB, free: 6.844 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0001585/0.00527, allocations: 89.62 kB / 0.7917 GB, free: 6.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.005395, allocations: 61.06 kB / 0.7917 GB, free: 6.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.00548, allocations: 189.8 kB / 0.7919 GB, free: 6.477 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.005492, allocations: 25.7 kB / 0.7919 GB, free: 6.445 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.005538, allocations: 146.8 kB / 0.7921 GB, free: 6.297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.005553, allocations: 13.66 kB / 0.7921 GB, free: 6.285 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.005637, allocations: 35.34 kB / 0.7921 GB, free: 6.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.904e-05/0.005736, allocations: 0.4884 MB / 0.7926 GB, free: 5.742 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.858e-05/0.005755, allocations: 11.98 kB / 0.7926 GB, free: 5.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.00579, allocations: 42.97 kB / 0.7926 GB, free: 5.676 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.005837, allocations: 52.17 kB / 0.7927 GB, free: 5.613 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005839, allocations: 0 / 0.7927 GB, free: 5.613 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.791e-05/0.005927, allocations: 91.09 kB / 0.7928 GB, free: 5.52 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005937, allocations: 4 kB / 0.7928 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.005941, allocations: 0 / 0.7928 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.00595, allocations: 5.688 kB / 0.7928 GB, free: 5.512 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.006007, allocations: 15.98 kB / 0.7928 GB, free: 5.496 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.006009, allocations: 0 / 0.7928 GB, free: 5.496 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.006039, allocations: 15.94 kB / 0.7928 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.006046, allocations: 4.906 kB / 0.7928 GB, free: 5.477 MB / 0.698 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.659e-05/0.006113, allocations: 169 kB / 0.793 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.006137, allocations: 11.89 kB / 0.793 GB, free: 5.289 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.006158, allocations: 13.09 kB / 0.793 GB, free: 5.277 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.00616, allocations: 0.5312 kB / 0.793 GB, free: 5.277 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.006162, allocations: 0 / 0.793 GB, free: 5.277 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.006166, allocations: 5.297 kB / 0.793 GB, free: 5.273 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.006375, allocations: 322 kB / 0.7933 GB, free: 4.926 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.006376, allocations: 0 / 0.7933 GB, free: 4.926 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.006394, allocations: 4.469 kB / 0.7933 GB, free: 4.922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.0064, allocations: 4 kB / 0.7933 GB, free: 4.918 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.006408, allocations: 5.359 kB / 0.7933 GB, free: 4.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006408, allocations: 0 / 0.7933 GB, free: 4.914 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.006409, allocations: 0 / 0.7933 GB, free: 4.914 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.006528, allocations: 235.8 kB / 0.7936 GB, free: 4.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-06/0.006536, allocations: 9.109 kB / 0.7936 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.006546, allocations: 3.984 kB / 0.7936 GB, free: 4.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.762e-05/0.006583, allocations: 5.094 kB / 0.7936 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.006606, allocations: 7.984 kB / 0.7936 GB, free: 4.641 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.006613, allocations: 7.938 kB / 0.7936 GB, free: 4.633 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.00665, allocations: 139.6 kB / 0.7937 GB, free: 4.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00665, allocations: 0 / 0.7937 GB, free: 4.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000181/0.006831, allocations: 35.94 kB / 0.7938 GB, free: 4.465 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: 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.0002378/0.007069, allocations: 183.7 kB / 0.7939 GB, free: 4.297 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.386e-05/0.007152, allocations: 44.53 kB / 0.794 GB, free: 4.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.007153, allocations: 2.094 kB / 0.794 GB, free: 4.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.16e-05/0.007185, allocations: 31.59 kB / 0.794 GB, free: 4.215 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.007347, allocations: 19.92 kB / 0.794 GB, free: 4.195 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.00775, allocations: 170.9 kB / 0.7942 GB, free: 4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.936e-05/0.007779, allocations: 59.34 kB / 0.7943 GB, free: 3.922 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.007802, allocations: 4 kB / 0.7943 GB, free: 3.918 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.007848, allocations: 78.14 kB / 0.7943 GB, free: 3.84 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.007849, allocations: 0 / 0.7943 GB, free: 3.84 MB / 0.698 GB Notification: Performance of Templates: time 0.002929/0.01078, allocations: 1.677 MB / 0.796 GB, free: 2.191 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.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.8018060508184135]