Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.001022/0.001022, allocations: 184.8 kB / 366.7 MB, free: 1.641 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.33/1.33, allocations: 205.2 MB / 0.626 GB, free: 7.172 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.0008099/0.00081, allocations: 89.08 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.993e-05/1.998e-05, allocations: 0 / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6241/0.6242, allocations: 116.3 MB / 0.9733 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.7869, allocations: 140.2 MB / 1.11 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/0.7871, allocations: 83.09 kB / 1.11 GB, free: 9.887 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.008463/0.7956, allocations: 2.958 MB / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7956, allocations: 0 / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.7956, allocations: 4 kB / 1.113 GB, free: 6.953 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.000457/0.7961, allocations: 414 kB / 1.114 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.7961, allocations: 12.03 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.7962, allocations: 8.531 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.7963, allocations: 171 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.7963, allocations: 0.5 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.7964, allocations: 9.297 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.837e-05/0.7964, allocations: 20 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.684e-05/0.7966, allocations: 53.67 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7966, allocations: 0.5312 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.7966, allocations: 0.5312 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.7966, allocations: 4 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.7971, allocations: 296.2 kB / 1.114 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.7972, allocations: 36.05 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.117e-05/0.7973, allocations: 27.42 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.7973, allocations: 0 / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.7974, allocations: 76.3 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.7974, allocations: 2 kB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002353/0.7977, allocations: 92.34 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.7977, allocations: 59.39 kB / 1.114 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.585e-05/0.7978, allocations: 111.5 kB / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.7978, allocations: 30.95 kB / 1.115 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.7979, allocations: 92.31 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.887e-05/0.7979, allocations: 19.81 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.7979, allocations: 2.219 kB / 1.115 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.798, allocations: 326.8 kB / 1.115 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.7981, allocations: 12 kB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.947e-05/0.7981, allocations: 35.11 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.034e-05/0.7982, allocations: 24.89 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7982, allocations: 1.969 kB / 1.115 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001551/0.7984, allocations: 93.52 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7984, allocations: 4 kB / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7984, allocations: 0 / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.7984, allocations: 64 / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.7985, allocations: 25.23 kB / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.7985, allocations: 0 / 1.115 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.7986, allocations: 7.938 kB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.7986, allocations: 4 kB / 1.115 GB, free: 4.73 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.294e-05/0.7987, allocations: 108.9 kB / 1.115 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.7987, allocations: 11.89 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.7988, allocations: 10.22 kB / 1.115 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7988, allocations: 4 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7988, allocations: 0 / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7988, allocations: 0 / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.7991, allocations: 343 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.7991, allocations: 2.062 kB / 1.116 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.7992, allocations: 4 kB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.7992, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7992, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.7992, allocations: 0 / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.7992, allocations: 8 kB / 1.116 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.7994, allocations: 196.9 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-05/0.7995, allocations: 81.05 kB / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.7995, allocations: 0 / 1.116 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.473e-05/0.7996, allocations: 4 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.7996, allocations: 7.984 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.7996, allocations: 11.98 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.7997, allocations: 99.66 kB / 1.116 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.593e-06/0.7997, allocations: 0 / 1.116 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002799/0.8, allocations: 43.88 kB / 1.116 GB, free: 3.742 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.00034/0.8003, allocations: 168.3 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.8005, allocations: 58.27 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.8005, allocations: 0 / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.8005, allocations: 27.98 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.8007, allocations: 10.67 kB / 1.116 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.801, allocations: 100.4 kB / 1.116 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.8012, allocations: 0.6892 MB / 1.117 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.736e-05/0.8013, allocations: 9.562 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.8013, allocations: 11.44 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.8013, allocations: 0 / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of Templates: time 0.003765/0.8051, allocations: 1.499 MB / 1.119 GB, free: 1.18 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)