Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 289.9 MB / 297.4 MB, free: 6.395 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.001102/0.001102, allocations: 192.8 kB / 366.7 MB, free: 1.629 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.726/1.726, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.001065/0.001065, allocations: 84.12 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.022e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8391/0.8392, allocations: 116.3 MB / 0.9733 GB, free: 76.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/1.09, allocations: 140.2 MB / 1.11 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003446/1.09, allocations: 76.67 kB / 1.11 GB, free: 9.828 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.01096/1.101, allocations: 2.954 MB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.095e-06/1.101, allocations: 0 / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.777e-05/1.101, allocations: 4.531 kB / 1.113 GB, free: 6.895 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.0006909/1.102, allocations: 413.9 kB / 1.114 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.102, allocations: 12.03 kB / 1.114 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/1.102, allocations: 8.656 kB / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/1.102, allocations: 175 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/1.103, allocations: 4.484 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/1.103, allocations: 4 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.651e-05/1.103, allocations: 21.16 kB / 1.114 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/1.103, allocations: 53.67 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.103, allocations: 2.969 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.103, allocations: 0 / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/1.103, allocations: 6.438 kB / 1.114 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007004/1.104, allocations: 292.4 kB / 1.114 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.789e-05/1.104, allocations: 38.52 kB / 1.114 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.822e-05/1.104, allocations: 29.84 kB / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/1.104, allocations: 3.984 kB / 1.114 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/1.104, allocations: 72.52 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/1.104, allocations: 0 / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003234/1.104, allocations: 85.67 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.104, allocations: 67.33 kB / 1.114 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/1.104, allocations: 110.2 kB / 1.115 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/1.105, allocations: 33.64 kB / 1.115 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.078e-05/1.105, allocations: 94.56 kB / 1.115 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/1.105, allocations: 11.75 kB / 1.115 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/1.105, allocations: 0 / 1.115 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.105, allocations: 326.8 kB / 1.115 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.345e-05/1.105, allocations: 18.16 kB / 1.115 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/1.105, allocations: 34.58 kB / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.879e-05/1.105, allocations: 28.05 kB / 1.115 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.105, allocations: 1.094 kB / 1.115 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001988/1.105, allocations: 93.52 kB / 1.115 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/1.105, allocations: 8.344 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.105, allocations: 0 / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.105, allocations: 0 / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/1.105, allocations: 15.98 kB / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.106, allocations: 0 / 1.115 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/1.106, allocations: 6.312 kB / 1.115 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/1.106, allocations: 5.875 kB / 1.115 GB, free: 4.676 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.000102/1.106, allocations: 124.9 kB / 1.115 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001921/1.106, allocations: 93.58 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.32e-05/1.106, allocations: 0 / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/1.106, allocations: 8.625 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.106, allocations: 0 / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.106, allocations: 0 / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.106, allocations: 0 / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/1.106, allocations: 346.9 kB / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/1.106, allocations: 8 kB / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/1.107, allocations: 4 kB / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.107, allocations: 0 / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/1.107, allocations: 0 / 1.116 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/1.107, allocations: 3.984 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.107, allocations: 0 / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/1.107, allocations: 200.5 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/1.107, allocations: 85.02 kB / 1.116 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/1.107, allocations: 4 kB / 1.116 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/1.107, allocations: 10.55 kB / 1.116 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/1.107, allocations: 4 kB / 1.116 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/1.107, allocations: 7.266 kB / 1.116 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.451e-05/1.107, allocations: 94.08 kB / 1.116 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.107, allocations: 4 kB / 1.116 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003444/1.108, allocations: 47.94 kB / 1.116 GB, free: 3.574 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.0009027/1.109, allocations: 0.7941 MB / 1.117 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001733/1.109, allocations: 51.98 kB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.109, allocations: 4.125 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.851e-05/1.109, allocations: 27.94 kB / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/1.109, allocations: 4 kB / 1.117 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/1.11, allocations: 146.1 kB / 1.117 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/1.11, allocations: 0.6892 MB / 1.118 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.628e-05/1.11, allocations: 12.62 kB / 1.118 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.593e-05/1.11, allocations: 23.44 kB / 1.118 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/1.11, allocations: 0 / 1.118 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/1.138, allocations: 2.177 MB / 1.12 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003901/1.139, allocations: 188.6 kB / 1.12 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.898, allocations: 0 / 1.12 GB, free: 15.44 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)