Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.778/1.778, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001167/0.001167, allocations: 177.1 kB / 377.1 MB, free: 1.543 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.705/1.705, allocations: 205.4 MB / 0.6366 GB, free: 8.543 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.0009667/0.0009668, allocations: 96.41 kB / 0.7509 GB, free: 62.9 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3166, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8943/1.211, allocations: 141 MB / 1.126 GB, free: 34.1 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.211, allocations: 82.91 kB / 1.126 GB, free: 34.03 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.009327/1.221, allocations: 2.989 MB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.829e-06/1.221, allocations: 3.469 kB / 1.129 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.114e-05/1.221, allocations: 0 / 1.129 GB, free: 31.88 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.0006447/1.221, allocations: 424.1 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/1.221, allocations: 12.58 kB / 1.13 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.405e-05/1.222, allocations: 45.92 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/1.222, allocations: 6.062 kB / 1.13 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/1.222, allocations: 171 kB / 1.13 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/1.222, allocations: 4.625 kB / 1.13 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/1.222, allocations: 14.53 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/1.222, allocations: 68.59 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.222, allocations: 0 / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/1.222, allocations: 4 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.222, allocations: 0 / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/1.222, allocations: 42.73 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007201/1.223, allocations: 322.8 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/1.223, allocations: 46.05 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/1.223, allocations: 4 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/1.223, allocations: 89.84 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.734e-06/1.223, allocations: 0 / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003987/1.224, allocations: 148.1 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/1.224, allocations: 59.41 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/1.224, allocations: 108.4 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/1.224, allocations: 29.7 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/1.224, allocations: 95.61 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/1.224, allocations: 15.81 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.224, allocations: 0 / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/1.224, allocations: 318.3 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.425e-05/1.224, allocations: 36.06 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.133e-05/1.224, allocations: 53.83 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/1.224, allocations: 36.34 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.224, allocations: 0 / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000207/1.225, allocations: 122.7 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.225, allocations: 6.5 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.225, allocations: 0 / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.225, allocations: 0.5 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/1.225, allocations: 15.42 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/1.225, allocations: 5.188 kB / 1.131 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/1.225, allocations: 7.906 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/1.225, allocations: 9.156 kB / 1.131 GB, free: 29.53 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.839e-05/1.225, allocations: 125 kB / 1.131 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/1.225, allocations: 4 kB / 1.131 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/1.225, allocations: 8.375 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.225, allocations: 0 / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.225, allocations: 4 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.225, allocations: 3.969 kB / 1.131 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/1.225, allocations: 390.9 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/1.225, allocations: 4 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/1.225, allocations: 7.281 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.225, allocations: 0.8438 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/1.226, allocations: 5.062 kB / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.226, allocations: 0 / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.226, allocations: 0 / 1.132 GB, free: 28.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/1.226, allocations: 218.2 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/1.226, allocations: 85.05 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/1.226, allocations: 7.234 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/1.226, allocations: 4 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/1.226, allocations: 7.469 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/1.226, allocations: 1.156 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.681e-05/1.226, allocations: 103.5 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.613e-06/1.226, allocations: 0 / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002948/1.226, allocations: 55.36 kB / 1.132 GB, free: 28.5 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.0008513/1.227, allocations: 0.8161 MB / 1.133 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002284/1.228, allocations: 78.91 kB / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.228, allocations: 0 / 1.133 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.952e-05/1.228, allocations: 38.84 kB / 1.133 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/1.228, allocations: 5.609 kB / 1.133 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006687/1.228, allocations: 0.7325 MB / 1.134 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/1.229, allocations: 0.6911 MB / 1.135 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.233e-05/1.229, allocations: 7.859 kB / 1.135 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/1.229, allocations: 22.81 kB / 1.135 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.229, allocations: 0 / 1.135 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/1.242, allocations: 2.49 MB / 1.137 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001491/1.243, allocations: 235.8 kB / 1.137 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.988, allocations: 0 / 1.137 GB, free: 24.52 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)