Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 249.3 MB / 261.8 MB, free: 5.895 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.001058/0.001058, allocations: 180.8 kB / 321.3 MB, free: 14.63 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.676/1.676, allocations: 205.2 MB / 0.572 GB, free: 10.65 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.0008002/0.0008002, allocations: 94.42 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.165e-05, allocations: 4 kB / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2116, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7364/0.9481, allocations: 133.6 MB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.9484, allocations: 86.88 kB / 1.022 GB, free: 0.9961 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.009188/0.9576, allocations: 2.966 MB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9577, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.9577, allocations: 0 / 1.025 GB, free: 14.45 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.0005284/0.9582, allocations: 426.4 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.9583, allocations: 8.031 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.9583, allocations: 38.06 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.9584, allocations: 4 kB / 1.026 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.9585, allocations: 174.9 kB / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.9585, allocations: 0 / 1.026 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.9585, allocations: 7.375 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.9587, allocations: 61.27 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.9587, allocations: 0 / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.9587, allocations: 11.88 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.9587, allocations: 4 kB / 1.026 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.321e-05/0.9588, allocations: 18.94 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.9594, allocations: 310.8 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 9.122e-05/0.9595, allocations: 48.56 kB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.9596, allocations: 19.8 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.9596, allocations: 12 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.9598, allocations: 70.75 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.582e-06/0.9598, allocations: 3.938 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0002592/0.9601, allocations: 103.7 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.9601, allocations: 51.41 kB / 1.027 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.9602, allocations: 116 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.9603, allocations: 29.02 kB / 1.027 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.9603, allocations: 95.97 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.9604, allocations: 15.39 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.9604, allocations: 0 / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.9605, allocations: 322.2 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.022e-05/0.9606, allocations: 23.12 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.9607, allocations: 43.88 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.919e-05/0.9607, allocations: 26.8 kB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9607, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001654/0.9609, allocations: 100.1 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.961, allocations: 5.719 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.961, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.961, allocations: 4 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.9611, allocations: 16.05 kB / 1.027 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.9611, allocations: 3.953 kB / 1.027 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.321e-05/0.9612, allocations: 11.91 kB / 1.027 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.9612, allocations: 0 / 1.027 GB, free: 12.23 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.382e-05/0.9613, allocations: 112.8 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.9613, allocations: 4 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.9614, allocations: 15.67 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9614, allocations: 0 / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.9614, allocations: 4 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.9614, allocations: 3.953 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.9618, allocations: 368.4 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.9618, allocations: 4 kB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.161e-05/0.9618, allocations: 4 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.9619, allocations: 4 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.9619, allocations: 0 / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.9619, allocations: 7.938 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.9619, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.9621, allocations: 193.4 kB / 1.028 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.9621, allocations: 81.02 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.9622, allocations: 4 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.526e-05/0.9623, allocations: 7.984 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.9623, allocations: 3.953 kB / 1.028 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.9623, allocations: 11.92 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.9624, allocations: 98.16 kB / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9624, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003053/0.9627, allocations: 59.48 kB / 1.028 GB, free: 11.24 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.0007549/0.9635, allocations: 0.8029 MB / 1.029 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001796/0.9636, allocations: 57.73 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.9637, allocations: 0 / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.9637, allocations: 28.56 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.9639, allocations: 15.88 kB / 1.029 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000466/0.9644, allocations: 145.8 kB / 1.029 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.9647, allocations: 0.6967 MB / 1.03 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.9647, allocations: 4.188 kB / 1.03 GB, free: 9.477 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.9648, allocations: 23.73 kB / 1.03 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/0.9648, allocations: 0 / 1.03 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.9773, allocations: 2.517 MB / 1.033 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.9775, allocations: 208.1 kB / 1.033 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/2.591, allocations: 0 / 1.033 GB, free: 6.836 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)