Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.91/1.91, allocations: 289.9 MB / 297.4 MB, free: 6.43 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.001428/0.001428, allocations: 180.9 kB / 366.7 MB, free: 1.703 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.827/1.827, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.000816/0.0008159, allocations: 86.17 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.048e-05/2.049e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6989/0.699, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.9072, allocations: 140.2 MB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.9075, allocations: 88.42 kB / 1.11 GB, free: 9.77 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.009645/0.9172, allocations: 2.946 MB / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.654e-06/0.9172, allocations: 0 / 1.113 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.9172, allocations: 0.6875 kB / 1.113 GB, free: 6.848 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.0005559/0.9178, allocations: 421.3 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.9179, allocations: 12.84 kB / 1.114 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.9179, allocations: 7.906 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.9181, allocations: 167.6 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.9181, allocations: 3.984 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.9181, allocations: 4.906 kB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.497e-05/0.9182, allocations: 23.94 kB / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.9184, allocations: 57.17 kB / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.9184, allocations: 0 / 1.114 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.9184, allocations: 4.828 kB / 1.114 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.9184, allocations: 4 kB / 1.114 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.919, allocations: 292.5 kB / 1.114 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/0.9191, allocations: 46.5 kB / 1.114 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.9192, allocations: 24.98 kB / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.9192, allocations: 0 / 1.114 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.9194, allocations: 72.45 kB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.9194, allocations: 1.375 kB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002651/0.9196, allocations: 88.25 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.9197, allocations: 55.41 kB / 1.114 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.9198, allocations: 121.1 kB / 1.115 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.9198, allocations: 25.7 kB / 1.115 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.9199, allocations: 88.33 kB / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.9199, allocations: 25.08 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.9199, allocations: 0 / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.9201, allocations: 322.8 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/0.9202, allocations: 24.52 kB / 1.115 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.9202, allocations: 35.77 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.514e-05/0.9203, allocations: 20.55 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.9203, allocations: 0.5938 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001692/0.9205, allocations: 93.03 kB / 1.115 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9205, allocations: 9.25 kB / 1.115 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9205, allocations: 3.984 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.9205, allocations: 0 / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.9207, allocations: 12 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.9207, allocations: 0 / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/0.9208, allocations: 7.984 kB / 1.115 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.9208, allocations: 5.906 kB / 1.115 GB, free: 4.621 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 8.91e-05/0.9209, allocations: 114.7 kB / 1.115 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001635/0.9211, allocations: 93.58 kB / 1.115 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.9211, allocations: 4 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.9211, allocations: 8.625 kB / 1.115 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.9211, allocations: 8.047 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9211, allocations: 0 / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.9211, allocations: 0 / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003736/0.9215, allocations: 340.1 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9215, allocations: 4 kB / 1.116 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.9216, allocations: 11.98 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9216, allocations: 0 / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.9216, allocations: 0 / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9216, allocations: 2.812 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.9216, allocations: 10.38 kB / 1.116 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.9219, allocations: 187.5 kB / 1.116 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.092e-05/0.922, allocations: 93 kB / 1.116 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.922, allocations: 0 / 1.116 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.9221, allocations: 4 kB / 1.116 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.9221, allocations: 7.984 kB / 1.116 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.9222, allocations: 3.938 kB / 1.116 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.014e-05/0.9222, allocations: 97.64 kB / 1.116 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9222, allocations: 0 / 1.116 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002967/0.9225, allocations: 55.92 kB / 1.116 GB, free: 3.52 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.0008255/0.9234, allocations: 0.792 MB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001407/0.9235, allocations: 51.94 kB / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9235, allocations: 0 / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.415e-05/0.9236, allocations: 27.98 kB / 1.117 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.9238, allocations: 6.062 kB / 1.117 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.9243, allocations: 154.2 kB / 1.117 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.9246, allocations: 0.6931 MB / 1.118 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.208e-05/0.9247, allocations: 5.438 kB / 1.118 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.9247, allocations: 23.42 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9247, allocations: 0 / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.9477, allocations: 2.172 MB / 1.12 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000225/0.948, allocations: 188.9 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.718, allocations: 0 / 1.12 GB, free: 15.39 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)