Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.502/1.502, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.0009692/0.000969, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.357/1.357, allocations: 205.3 MB / 0.626 GB, free: 7.195 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.0008546/0.0008546, allocations: 81.28 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.076e-05/1.079e-05, allocations: 0 / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5512, allocations: 116.3 MB / 0.9732 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.7222, allocations: 140.3 MB / 1.11 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.7225, allocations: 79.95 kB / 1.11 GB, free: 9.895 MB / 0.7136 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.008683/0.7312, allocations: 2.955 MB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7312, allocations: 1.469 kB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.7312, allocations: 0 / 1.113 GB, free: 6.961 MB / 0.7136 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.0005175/0.7318, allocations: 412.6 kB / 1.114 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.7318, allocations: 8.531 kB / 1.114 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.7319, allocations: 9.219 kB / 1.114 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.732, allocations: 175 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.732, allocations: 4 kB / 1.114 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.7321, allocations: 0.5312 kB / 1.114 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.56e-05/0.7322, allocations: 23.98 kB / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.7323, allocations: 59.98 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7323, allocations: 0.5312 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.7323, allocations: 0.5312 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7323, allocations: 0 / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.7329, allocations: 296.4 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.316e-05/0.733, allocations: 39.98 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.733, allocations: 24.98 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.7331, allocations: 0 / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.7332, allocations: 70.11 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.7332, allocations: 0 / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.00025/0.7335, allocations: 89.67 kB / 1.114 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.7335, allocations: 59.34 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.503e-05/0.7336, allocations: 111.5 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.7336, allocations: 38.33 kB / 1.115 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.7337, allocations: 89.12 kB / 1.115 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.7337, allocations: 19.81 kB / 1.115 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.7337, allocations: 3.375 kB / 1.115 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.7338, allocations: 322.8 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.7339, allocations: 20 kB / 1.115 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.816e-05/0.7339, allocations: 38.75 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.575e-05/0.734, allocations: 26.17 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.734, allocations: 2.188 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000158/0.7342, allocations: 89.52 kB / 1.115 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.7342, allocations: 4 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.7342, allocations: 4 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.7342, allocations: 0.625 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.7343, allocations: 16.05 kB / 1.115 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.7344, allocations: 4 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.7344, allocations: 4 kB / 1.115 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.7344, allocations: 4 kB / 1.115 GB, free: 4.742 MB / 0.7136 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.269e-05/0.7345, allocations: 112.9 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.7346, allocations: 12.39 kB / 1.115 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.7346, allocations: 8.625 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7346, allocations: 4 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.7346, allocations: 0 / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7346, allocations: 0 / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.7349, allocations: 345.7 kB / 1.116 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.735, allocations: 3.984 kB / 1.116 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.735, allocations: 4 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.735, allocations: 7 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.735, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.735, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7351, allocations: 4 kB / 1.116 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.7353, allocations: 197.5 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.7353, allocations: 85.05 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.7353, allocations: 0 / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.29e-05/0.7354, allocations: 4 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.7355, allocations: 7.984 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.7355, allocations: 0 / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.7355, allocations: 95.27 kB / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7355, allocations: 0 / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002828/0.7358, allocations: 43.94 kB / 1.116 GB, free: 3.754 MB / 0.7136 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete 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 (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.000372/0.7362, allocations: 167.7 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.7363, allocations: 55.98 kB / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7364, allocations: 7.938 kB / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.7364, allocations: 20 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.7366, allocations: 11.94 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.7369, allocations: 100.4 kB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.7371, allocations: 0.6892 MB / 1.117 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.7372, allocations: 13.78 kB / 1.117 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.7372, allocations: 11.44 kB / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7372, allocations: 0 / 1.117 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of Templates: time 0.003506/0.7407, allocations: 1.499 MB / 1.119 GB, free: 1.184 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)