Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.73/1.73, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009616/0.0009618, allocations: 182.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 0.6626 GB, free: 4.316 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008064/0.0008066, allocations: 97.5 kB / 0.7808 GB, free: 50.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004627, allocations: 15.98 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7791/0.7795, allocations: 120.3 MB / 1.026 GB, free: 55.98 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2072/0.9868, allocations: 143.2 MB / 1.166 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.9871, allocations: 87.09 kB / 1.166 GB, free: 0.6719 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.009877/0.9969, allocations: 3.036 MB / 1.169 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.004e-06/0.997, allocations: 4.625 kB / 1.169 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.997, allocations: 4 kB / 1.169 GB, free: 14.49 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.0007522/0.9978, allocations: 415.6 kB / 1.17 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.9978, allocations: 11.91 kB / 1.17 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/0.9979, allocations: 8.844 kB / 1.17 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.9981, allocations: 180.1 kB / 1.17 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.9981, allocations: 4.938 kB / 1.17 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.9981, allocations: 4.984 kB / 1.17 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.9984, allocations: 67.7 kB / 1.17 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.9984, allocations: 4.906 kB / 1.17 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.9984, allocations: 4.953 kB / 1.17 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9984, allocations: 0 / 1.17 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.9986, allocations: 49.05 kB / 1.17 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007053/0.9993, allocations: 313.1 kB / 1.17 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.9994, allocations: 58.67 kB / 1.17 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/0.9995, allocations: 39.05 kB / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.9996, allocations: 0 / 1.17 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.9998, allocations: 85.19 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.9998, allocations: 0 / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004215/1, allocations: 146.1 kB / 1.171 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/1, allocations: 52.11 kB / 1.171 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/1, allocations: 129.2 kB / 1.171 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/1, allocations: 30.48 kB / 1.171 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/1.001, allocations: 91.38 kB / 1.171 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/1.001, allocations: 16.98 kB / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/1.001, allocations: 0 / 1.171 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.001, allocations: 322.9 kB / 1.171 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.406e-05/1.001, allocations: 25.92 kB / 1.171 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/1.001, allocations: 61.78 kB / 1.171 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/1.001, allocations: 76.12 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.001, allocations: 0.6875 kB / 1.171 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000273/1.001, allocations: 119.6 kB / 1.171 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.001, allocations: 4 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.001, allocations: 1.844 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.001, allocations: 4.516 kB / 1.171 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/1.002, allocations: 15.64 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/1.002, allocations: 1.656 kB / 1.171 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/1.002, allocations: 15.19 kB / 1.171 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/1.002, allocations: 0.9844 kB / 1.171 GB, free: 12.12 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 (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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.002, allocations: 128.1 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/1.002, allocations: 5.75 kB / 1.172 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/1.002, allocations: 15.77 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/1.002, allocations: 0 / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.002, allocations: 1.688 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.002, allocations: 0 / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/1.002, allocations: 387.8 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.002, allocations: 1.922 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/1.002, allocations: 5.219 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/1.002, allocations: 1.75 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/1.002, allocations: 6.484 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/1.002, allocations: 4.734 kB / 1.172 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.003, allocations: 4 kB / 1.172 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/1.003, allocations: 218.1 kB / 1.172 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/1.003, allocations: 85.67 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.988e-05/1.003, allocations: 2.062 kB / 1.172 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.889e-05/1.003, allocations: 9.359 kB / 1.172 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/1.003, allocations: 14.33 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/1.003, allocations: 2.25 kB / 1.172 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.225e-05/1.003, allocations: 96.39 kB / 1.172 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.11e-07/1.003, allocations: 0 / 1.172 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003652/1.004, allocations: 45.92 kB / 1.172 GB, free: 11.09 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,occ.y,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 (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.0004599/1.004, allocations: 176.2 kB / 1.173 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002527/1.004, allocations: 75.62 kB / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.004, allocations: 0 / 1.173 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.862e-05/1.004, allocations: 37.2 kB / 1.173 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/1.005, allocations: 10.11 kB / 1.173 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/1.005, allocations: 205.8 kB / 1.173 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/1.005, allocations: 0.6885 MB / 1.174 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.871e-05/1.006, allocations: 10.28 kB / 1.174 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.08e-05/1.006, allocations: 12.19 kB / 1.174 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/1.006, allocations: 0 / 1.174 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.004846/1.01, allocations: 1.508 MB / 1.175 GB, free: 9.074 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)