Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.508/2.508, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.002247/0.002246, allocations: 172.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001165/0.001165, allocations: 83.86 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.482e-05/2.517e-05, allocations: 4 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8695/0.8696, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/1.113, allocations: 139.1 MB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/1.114, allocations: 80.61 kB / 1.099 GB, free: 1.285 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01509/1.129, allocations: 2.96 MB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.129, allocations: 1.5 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.134e-05/1.129, allocations: 4 kB / 1.102 GB, free: 14.37 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.0006955/1.13, allocations: 413.9 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/1.13, allocations: 12.62 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/1.13, allocations: 10.94 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/1.13, allocations: 171 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/1.13, allocations: 4.547 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/1.13, allocations: 4 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/1.13, allocations: 20.53 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/1.13, allocations: 58.16 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.13, allocations: 0.5625 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/1.13, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/1.13, allocations: 1.281 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008476/1.131, allocations: 290.9 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.131, allocations: 35.73 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/1.132, allocations: 25.55 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/1.132, allocations: 4.672 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/1.132, allocations: 75.83 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 3.867e-06/1.132, allocations: 1.188 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003625/1.132, allocations: 89.69 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.132, allocations: 60.7 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.132, allocations: 110.2 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/1.132, allocations: 36.72 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/1.132, allocations: 88.98 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/1.133, allocations: 16.31 kB / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.757e-06/1.133, allocations: 0 / 1.104 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001649/1.133, allocations: 327.5 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.057e-05/1.133, allocations: 12.94 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/1.133, allocations: 45.81 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/1.133, allocations: 16 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.133, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002639/1.133, allocations: 95.47 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/1.133, allocations: 4 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.133, allocations: 0 / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.133, allocations: 6.344 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/1.134, allocations: 15.98 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.048e-06/1.134, allocations: 3.938 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/1.134, allocations: 4 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/1.134, allocations: 4 kB / 1.104 GB, free: 12.15 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 0.0001198/1.134, allocations: 122 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002578/1.134, allocations: 98.06 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/1.134, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/1.134, allocations: 12.62 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.134, allocations: 0 / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.134, allocations: 3.375 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/1.134, allocations: 3.953 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/1.135, allocations: 347 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.135, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.739e-05/1.135, allocations: 4 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.135, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/1.135, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.135, allocations: 3.984 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.135, allocations: 3.953 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/1.135, allocations: 197.1 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/1.135, allocations: 85.02 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/1.135, allocations: 0.9375 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/1.136, allocations: 7.984 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/1.136, allocations: 11.95 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/1.136, allocations: 7.984 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.11e-05/1.136, allocations: 88.81 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.136, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004854/1.136, allocations: 47.92 kB / 1.105 GB, free: 11.04 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.001136/1.137, allocations: 0.7948 MB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002294/1.138, allocations: 55.97 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.138, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.404e-05/1.138, allocations: 31.94 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/1.138, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006745/1.139, allocations: 149.8 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/1.139, allocations: 0.6944 MB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.79e-05/1.139, allocations: 13.55 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/1.139, allocations: 15.44 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/1.139, allocations: 0 / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/1.178, allocations: 2.19 MB / 1.109 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003645/1.179, allocations: 187.2 kB / 1.109 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.763, allocations: 2.906 kB / 1.109 GB, free: 6.898 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)