Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.659/2.659, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001501/0.001501, allocations: 184.8 kB / 360.6 MB, free: 7.27 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.098/2.098, allocations: 205.2 MB / 0.6191 GB, free: 12.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.001049/0.001049, allocations: 85.91 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.995e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.7997, allocations: 115.2 MB / 0.9634 GB, free: 78.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.259/1.059, allocations: 139.1 MB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/1.059, allocations: 90.27 kB / 1.099 GB, free: 1.328 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.0141/1.073, allocations: 2.956 MB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/1.073, allocations: 0 / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.284e-06/1.073, allocations: 0.8438 kB / 1.102 GB, free: 14.43 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.0007201/1.074, allocations: 422.2 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/1.074, allocations: 8.625 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/1.074, allocations: 8.531 kB / 1.103 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/1.074, allocations: 171 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/1.074, allocations: 0.5 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/1.074, allocations: 4.781 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/1.075, allocations: 27.98 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/1.075, allocations: 58.39 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.075, allocations: 0 / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/1.075, allocations: 0.625 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.075, allocations: 0 / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/1.076, allocations: 292.1 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/1.076, allocations: 39.3 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/1.076, allocations: 21.55 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/1.076, allocations: 5.062 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/1.076, allocations: 68.02 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.004e-06/1.076, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003491/1.076, allocations: 98.36 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/1.076, allocations: 57.19 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/1.077, allocations: 110.3 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/1.077, allocations: 29.64 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/1.077, allocations: 96.31 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/1.077, allocations: 17.38 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/1.077, allocations: 0 / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.077, allocations: 322.8 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/1.077, allocations: 23.28 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.758e-05/1.077, allocations: 34.58 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/1.077, allocations: 19.98 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.077, allocations: 2.719 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002504/1.077, allocations: 97.44 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.077, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.077, allocations: 3.922 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/1.077, allocations: 4 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/1.078, allocations: 15.12 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/1.078, allocations: 3.984 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/1.078, allocations: 8 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/1.078, allocations: 0 / 1.104 GB, free: 12.21 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.0001139/1.078, allocations: 118.4 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002508/1.078, allocations: 101.6 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/1.078, allocations: 4 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/1.078, allocations: 12.55 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/1.078, allocations: 0 / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/1.078, allocations: 4 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.078, allocations: 3.953 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/1.079, allocations: 343 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.079, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/1.079, allocations: 7.984 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.079, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/1.079, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.079, allocations: 4 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.079, allocations: 3.953 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/1.079, allocations: 195.4 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/1.079, allocations: 85.02 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/1.079, allocations: 4 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/1.08, allocations: 4 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/1.08, allocations: 7.938 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/1.08, allocations: 4 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.891e-05/1.08, allocations: 95.31 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.08, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004646/1.08, allocations: 47.94 kB / 1.105 GB, free: 11.09 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.000993/1.081, allocations: 0.7973 MB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000208/1.081, allocations: 48.06 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/1.081, allocations: 8 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.263e-05/1.082, allocations: 29.48 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/1.082, allocations: 5.719 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/1.082, allocations: 148.5 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/1.083, allocations: 0.6885 MB / 1.107 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.899e-05/1.083, allocations: 9.438 kB / 1.107 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/1.083, allocations: 23.42 kB / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/1.083, allocations: 0 / 1.107 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/1.119, allocations: 2.179 MB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004644/1.119, allocations: 188.6 kB / 1.109 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.44, allocations: 0 / 1.109 GB, free: 6.957 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)