Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.739/3.739, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002431/0.00243, allocations: 180.7 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.917/3.917, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.004734/0.004733, allocations: 95.22 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008481/0.0008484, allocations: 15.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4187, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3445/0.7633, allocations: 133.5 MB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004992/0.7639, allocations: 91.95 kB / 1.03 GB, free: 11.73 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02248/0.7864, allocations: 2.994 MB / 1.033 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7865, allocations: 4 kB / 1.033 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.7865, allocations: 4 kB / 1.033 GB, free: 8.723 MB / 0.6823 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.0011/0.7876, allocations: 420.9 kB / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.7877, allocations: 8.031 kB / 1.033 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.961e-05/0.7878, allocations: 8.844 kB / 1.033 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.788, allocations: 164.4 kB / 1.033 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.7881, allocations: 8.375 kB / 1.033 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.7882, allocations: 4.375 kB / 1.034 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.7886, allocations: 82.14 kB / 1.034 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.7886, allocations: 192 / 1.034 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.7887, allocations: 11.92 kB / 1.034 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.7887, allocations: 0 / 1.034 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003489/0.7891, allocations: 43.92 kB / 1.034 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.7905, allocations: 324.7 kB / 1.034 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.7909, allocations: 58.44 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.7912, allocations: 36.97 kB / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.7912, allocations: 0 / 1.034 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.7916, allocations: 75.38 kB / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.507e-06/0.7917, allocations: 0 / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0009376/0.7926, allocations: 153.5 kB / 1.034 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/0.7927, allocations: 59.47 kB / 1.034 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.7929, allocations: 117.8 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.793, allocations: 33.7 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.7931, allocations: 84.14 kB / 1.035 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.7932, allocations: 19.8 kB / 1.035 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.7932, allocations: 0 / 1.035 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.7934, allocations: 326.8 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.7937, allocations: 31.97 kB / 1.035 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.794, allocations: 46.56 kB / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.7943, allocations: 39.92 kB / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.7943, allocations: 0 / 1.035 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007145/0.795, allocations: 117.5 kB / 1.035 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.7951, allocations: 4 kB / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.7951, allocations: 4 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.7952, allocations: 0 / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.7954, allocations: 19.98 kB / 1.035 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.7954, allocations: 4 kB / 1.035 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.7956, allocations: 4 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.7957, allocations: 4 kB / 1.035 GB, free: 6.219 MB / 0.6823 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.0002093/0.7959, allocations: 125.7 kB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.796, allocations: 11.89 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.539e-05/0.796, allocations: 4.375 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7961, allocations: 4 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7961, allocations: 0 / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.7961, allocations: 0 / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.7973, allocations: 390.4 kB / 1.036 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.7974, allocations: 0 / 1.036 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.7975, allocations: 4 kB / 1.036 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.7975, allocations: 4 kB / 1.036 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.7975, allocations: 7.969 kB / 1.036 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.7976, allocations: 4 kB / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.7976, allocations: 0 / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.7984, allocations: 223.8 kB / 1.036 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.7985, allocations: 92.94 kB / 1.036 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.7986, allocations: 0 / 1.036 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.7988, allocations: 4 kB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.7989, allocations: 11.92 kB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.7989, allocations: 4 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001199/0.7991, allocations: 95.27 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.21e-07/0.7991, allocations: 0 / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007828/0.7999, allocations: 47.94 kB / 1.036 GB, free: 5.105 MB / 0.6823 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.0007705/0.8007, allocations: 180.4 kB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006748/0.8014, allocations: 71.91 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.8014, allocations: 128 / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.8017, allocations: 43.97 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006047/0.8024, allocations: 8 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008328/0.8032, allocations: 205.1 kB / 1.037 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.8037, allocations: 0.6908 MB / 1.037 GB, free: 3.863 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.8038, allocations: 4 kB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.8039, allocations: 11.44 kB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of SimCode: time 1.683e-06/0.8039, allocations: 0 / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of Templates: time 0.009258/0.8132, allocations: 1.525 MB / 1.039 GB, free: 2.328 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)