Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.6 MB / 307.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 181 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 0.6367 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000846/0.000846, allocations: 94.17 kB / 0.751 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003401, allocations: 12 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6572/0.9046, allocations: 141.3 MB / 1.126 GB, free: 34.01 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.9049, allocations: 78.94 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009457/0.9144, allocations: 3.238 MB / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9144, allocations: 0 / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.9144, allocations: 0 / 1.13 GB, free: 31.62 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005672/0.915, allocations: 457.9 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.915, allocations: 11.97 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.9151, allocations: 9.969 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.962e-05/0.9152, allocations: 171 kB / 1.13 GB, free: 30.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/0.9152, allocations: 8 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.9152, allocations: 14.81 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.9155, allocations: 83.88 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9155, allocations: 4.75 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.9155, allocations: 0 / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.9155, allocations: 0 / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.9157, allocations: 58.31 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006804/0.9164, allocations: 343.5 kB / 1.131 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.9165, allocations: 69.45 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.9166, allocations: 0 / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.9168, allocations: 94.17 kB / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.9168, allocations: 0 / 1.131 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004865/0.9173, allocations: 199 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.9173, allocations: 55.41 kB / 1.131 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.9174, allocations: 117.4 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.9174, allocations: 26.27 kB / 1.131 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.9175, allocations: 99.33 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.9175, allocations: 19.72 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.9175, allocations: 0 / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.9176, allocations: 326.1 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.445e-05/0.9176, allocations: 30.8 kB / 1.132 GB, free: 29.42 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.579e-05/0.9177, allocations: 67.84 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.798e-05/0.9178, allocations: 40.06 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9178, allocations: 0 / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002201/0.9181, allocations: 132.8 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.9181, allocations: 11.61 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.9181, allocations: 1.016 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.9181, allocations: 5.312 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.9183, allocations: 19.45 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.9183, allocations: 0 / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.9183, allocations: 12.88 kB / 1.132 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.9184, allocations: 4 kB / 1.132 GB, free: 29.14 MB / 0.7292 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.9185, allocations: 133.4 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/0.9185, allocations: 8.844 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.9185, allocations: 8.375 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9186, allocations: 4 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.944e-06/0.9186, allocations: 1.031 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.9186, allocations: 3.938 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.919, allocations: 431 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9191, allocations: 0.6875 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.9191, allocations: 7.469 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.9191, allocations: 0 / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.9191, allocations: 4 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.9191, allocations: 1.188 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9191, allocations: 3.281 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.9195, allocations: 259.4 kB / 1.133 GB, free: 28.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.9195, allocations: 81.02 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.9195, allocations: 7.047 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.9197, allocations: 8.5 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.9197, allocations: 12.48 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.9197, allocations: 2.906 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.9198, allocations: 102.2 kB / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9198, allocations: 0 / 1.133 GB, free: 28.08 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003095/0.9201, allocations: 55.17 kB / 1.133 GB, free: 28.03 MB / 0.7292 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,occ.y,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 (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003587/0.9205, allocations: 173.3 kB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002482/0.9207, allocations: 97.72 kB / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9207, allocations: 0 / 1.133 GB, free: 27.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.9209, allocations: 58.92 kB / 1.133 GB, free: 27.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.921, allocations: 8.312 kB / 1.133 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.9215, allocations: 216.5 kB / 1.134 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.9216, allocations: 0.6982 MB / 1.134 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.079e-05/0.9216, allocations: 7.469 kB / 1.134 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.9217, allocations: 12.66 kB / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.9217, allocations: 0 / 1.134 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.004488/0.9262, allocations: 1.783 MB / 1.136 GB, free: 25.83 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)