Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 285.4 MB / 298 MB, free: 5.941 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.001212/0.001212, allocations: 180.8 kB / 366.4 MB, free: 2.102 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.553/1.553, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.001198/0.001198, allocations: 94.91 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.054e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7645, allocations: 115.3 MB / 0.9709 GB, free: 77.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/0.9761, allocations: 139.9 MB / 1.108 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.9765, allocations: 81.61 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.008891/0.9854, allocations: 2.977 MB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.166e-06/0.9854, allocations: 0 / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.9854, allocations: 3.938 kB / 1.111 GB, free: 8.848 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.0004915/0.9859, allocations: 408.8 kB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.986, allocations: 9.906 kB / 1.111 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.986, allocations: 10.44 kB / 1.111 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.9862, allocations: 172.3 kB / 1.111 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.9862, allocations: 11.98 kB / 1.111 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.9862, allocations: 4.531 kB / 1.111 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.9864, allocations: 60.98 kB / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.9864, allocations: 0 / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9864, allocations: 4 kB / 1.111 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9864, allocations: 0.875 kB / 1.111 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.9865, allocations: 24 kB / 1.111 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.9872, allocations: 312.7 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.145e-05/0.9873, allocations: 46.56 kB / 1.112 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.9873, allocations: 28.92 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.9874, allocations: 0.8125 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.9875, allocations: 80.17 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.9875, allocations: 0 / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002401/0.9877, allocations: 93.67 kB / 1.112 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.9878, allocations: 51.41 kB / 1.112 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.9879, allocations: 118.8 kB / 1.112 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.9879, allocations: 33.64 kB / 1.112 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.736e-05/0.988, allocations: 89.2 kB / 1.112 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.988, allocations: 23.73 kB / 1.112 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.988, allocations: 6.906 kB / 1.112 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.91e-05/0.9881, allocations: 314.8 kB / 1.112 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.9882, allocations: 23.98 kB / 1.112 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.9883, allocations: 38.58 kB / 1.112 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.558e-05/0.9883, allocations: 26.12 kB / 1.112 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9883, allocations: 0 / 1.112 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001564/0.9885, allocations: 100.8 kB / 1.113 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.9885, allocations: 8 kB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.9885, allocations: 4.062 kB / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.9885, allocations: 0 / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.9886, allocations: 12 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.9887, allocations: 11.92 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.9887, allocations: 4 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.9888, allocations: 7.953 kB / 1.113 GB, free: 6.547 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.473e-05/0.9888, allocations: 109 kB / 1.113 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.9889, allocations: 11.91 kB / 1.113 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.9889, allocations: 12.61 kB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.9889, allocations: 0 / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.9889, allocations: 0 / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.9889, allocations: 0.5625 kB / 1.113 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.9893, allocations: 370.4 kB / 1.113 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.9893, allocations: 0 / 1.113 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.303e-05/0.9894, allocations: 4 kB / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.9894, allocations: 0 / 1.113 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.9894, allocations: 5.625 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.9894, allocations: 2.625 kB / 1.113 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.9894, allocations: 7.984 kB / 1.113 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.9896, allocations: 195.3 kB / 1.113 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.9897, allocations: 81.11 kB / 1.113 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.9897, allocations: 0 / 1.113 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.9898, allocations: 11.98 kB / 1.113 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.9899, allocations: 15.92 kB / 1.113 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.9899, allocations: 3.984 kB / 1.113 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.9899, allocations: 97.97 kB / 1.113 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9899, allocations: 0 / 1.113 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003023/0.9902, allocations: 51.92 kB / 1.114 GB, free: 5.496 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.0003627/0.9906, allocations: 168.3 kB / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001443/0.9908, allocations: 55.94 kB / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9908, allocations: 0 / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.907e-05/0.9908, allocations: 31.97 kB / 1.114 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/0.991, allocations: 8 kB / 1.114 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.9913, allocations: 103.8 kB / 1.114 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.9916, allocations: 0.6966 MB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.9916, allocations: 4.188 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.9916, allocations: 19.36 kB / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.9916, allocations: 0 / 1.115 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of Templates: time 0.00389/0.9955, allocations: 1.528 MB / 1.116 GB, free: 2.895 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)