Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 249.3 MB / 261.8 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001542, allocations: 176.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.2 MB / 0.572 GB, free: 10.69 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.001022/0.001022, allocations: 98.38 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.778e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7172/0.9382, allocations: 133.6 MB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.9385, allocations: 77.55 kB / 1.022 GB, free: 1.035 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.009156/0.9476, allocations: 2.971 MB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9477, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.707e-06/0.9477, allocations: 0 / 1.025 GB, free: 14.49 MB / 0.6511 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.0005531/0.9482, allocations: 426.9 kB / 1.026 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.9483, allocations: 12.03 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.9483, allocations: 34.55 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.9484, allocations: 4 kB / 1.026 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.9485, allocations: 170.9 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.9486, allocations: 6.5 kB / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.9486, allocations: 0 / 1.026 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.9487, allocations: 59.61 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.9487, allocations: 7.922 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.9488, allocations: 0 / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.9488, allocations: 8 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.9488, allocations: 30.86 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006273/0.9495, allocations: 310.3 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.827e-05/0.9496, allocations: 41.58 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.881e-05/0.9496, allocations: 27.48 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.57e-05/0.9497, allocations: 3.984 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.9498, allocations: 78.2 kB / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.9498, allocations: 0 / 1.027 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002446/0.9501, allocations: 97.58 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.9501, allocations: 55.34 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.9502, allocations: 108.8 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.9502, allocations: 33.64 kB / 1.027 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.9503, allocations: 91.42 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.9503, allocations: 15.08 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.9503, allocations: 6.938 kB / 1.027 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.9505, allocations: 317.1 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.817e-05/0.9505, allocations: 18.69 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-05/0.9506, allocations: 52.3 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.9507, allocations: 26.75 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9507, allocations: 0 / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001616/0.9508, allocations: 99.77 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9509, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9509, allocations: 4 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.9509, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.951, allocations: 11.98 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.951, allocations: 7.953 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.9511, allocations: 11.97 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.9511, allocations: 11.61 kB / 1.027 GB, free: 12.26 MB / 0.6511 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 8.556e-05/0.9512, allocations: 108.9 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.9512, allocations: 3.438 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.9513, allocations: 8.625 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.9513, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9513, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9513, allocations: 7.953 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.9517, allocations: 369 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.9517, allocations: 8 kB / 1.028 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.9518, allocations: 7.984 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.9518, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.9518, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.9518, allocations: 3.953 kB / 1.028 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9518, allocations: 3.938 kB / 1.028 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.952, allocations: 193.7 kB / 1.028 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.9521, allocations: 89 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.9521, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.565e-05/0.9522, allocations: 4 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.9522, allocations: 11.94 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.9522, allocations: 0 / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.9523, allocations: 106 kB / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9523, allocations: 0 / 1.028 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003174/0.9526, allocations: 51.38 kB / 1.028 GB, free: 11.27 MB / 0.6511 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.0008843/0.9535, allocations: 0.7938 MB / 1.029 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.9537, allocations: 62.17 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.9537, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.627e-05/0.9538, allocations: 34.55 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.954, allocations: 13.77 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.9545, allocations: 151.2 kB / 1.029 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.9548, allocations: 0.6965 MB / 1.03 GB, free: 9.512 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.9549, allocations: 8.297 kB / 1.03 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.955, allocations: 20.12 kB / 1.03 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.955, allocations: 0 / 1.03 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01345/0.9684, allocations: 2.514 MB / 1.033 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.9687, allocations: 212.1 kB / 1.033 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.559, allocations: 4 kB / 1.033 GB, free: 6.867 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)