Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.768/1.768, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.00103/0.00103, allocations: 180.7 kB / 377.1 MB, free: 1.531 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.61/1.61, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.0009016/0.0009016, allocations: 96.72 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 8 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8747/1.182, allocations: 141 MB / 1.126 GB, free: 34.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.182, allocations: 82.98 kB / 1.126 GB, free: 34 MB / 0.7292 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.008621/1.191, allocations: 2.988 MB / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.503e-06/1.191, allocations: 0 / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.055e-06/1.191, allocations: 3.219 kB / 1.129 GB, free: 31.85 MB / 0.7292 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.0005454/1.191, allocations: 439.8 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/1.191, allocations: 12.02 kB / 1.13 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/1.191, allocations: 30.56 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/1.191, allocations: 6.062 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.191, allocations: 175.4 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/1.191, allocations: 12 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/1.192, allocations: 4 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/1.192, allocations: 67.06 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.192, allocations: 0 / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/1.192, allocations: 1.734 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.192, allocations: 1.25 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/1.192, allocations: 54.45 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/1.193, allocations: 315.1 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/1.193, allocations: 57.47 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/1.193, allocations: 0 / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/1.193, allocations: 79.33 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/1.193, allocations: 0 / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004228/1.193, allocations: 155.5 kB / 1.13 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/1.193, allocations: 51.97 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/1.193, allocations: 116.6 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/1.194, allocations: 29.7 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/1.194, allocations: 88.23 kB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/1.194, allocations: 19.23 kB / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/1.194, allocations: 0 / 1.131 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/1.194, allocations: 323.4 kB / 1.131 GB, free: 29.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/1.194, allocations: 30.84 kB / 1.131 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/1.194, allocations: 58.95 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/1.194, allocations: 32.55 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.194, allocations: 0 / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002202/1.194, allocations: 119.9 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.194, allocations: 4.656 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.194, allocations: 4.547 kB / 1.131 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.194, allocations: 4.062 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.869e-05/1.194, allocations: 11.66 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/1.194, allocations: 4 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/1.195, allocations: 8.406 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/1.195, allocations: 11.95 kB / 1.131 GB, free: 29.49 MB / 0.7292 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 () * Number of clocked 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.878e-05/1.195, allocations: 122 kB / 1.131 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/1.195, allocations: 4 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/1.195, allocations: 12.38 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.195, allocations: 0.8906 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.195, allocations: 4.875 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/1.195, allocations: 0 / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/1.195, allocations: 379.8 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.195, allocations: 3.938 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.877e-05/1.195, allocations: 11.47 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/1.195, allocations: 0 / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.195, allocations: 4.688 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.195, allocations: 0 / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.195, allocations: 0.5625 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/1.196, allocations: 225.7 kB / 1.132 GB, free: 28.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/1.196, allocations: 82.17 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/1.196, allocations: 0.5625 kB / 1.132 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/1.196, allocations: 11.56 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.269e-05/1.196, allocations: 7.469 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.196, allocations: 4.844 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.284e-05/1.196, allocations: 99.34 kB / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.196, allocations: 0 / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003194/1.196, allocations: 47.56 kB / 1.132 GB, free: 28.47 MB / 0.7292 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 () * Number of clocked 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.0009144/1.197, allocations: 0.8221 MB / 1.133 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003042/1.197, allocations: 82.28 kB / 1.133 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.197, allocations: 0 / 1.133 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.624e-05/1.198, allocations: 39.08 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/1.198, allocations: 4.125 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/1.199, allocations: 0.738 MB / 1.134 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/1.199, allocations: 0.6886 MB / 1.135 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.577e-05/1.199, allocations: 9.984 kB / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/1.199, allocations: 19.44 kB / 1.135 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.199, allocations: 0 / 1.135 GB, free: 26.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/1.216, allocations: 2.483 MB / 1.137 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/1.217, allocations: 234.4 kB / 1.137 GB, free: 24.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.975, allocations: 0 / 1.137 GB, free: 24.48 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)