Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.593/2.593, allocations: 284.9 MB / 292.4 MB, free: 10.5 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.00142/0.001419, allocations: 172.9 kB / 360.6 MB, free: 7.262 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.354/2.354, allocations: 205.3 MB / 0.6191 GB, free: 12.14 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.001033/0.001033, allocations: 94.22 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.386e-05/2.398e-05, allocations: 4 kB / 0.8509 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9005/0.9006, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2379/1.139, allocations: 139.1 MB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/1.139, allocations: 83.94 kB / 1.099 GB, free: 1.305 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.01472/1.154, allocations: 2.956 MB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.244e-06/1.154, allocations: 0.6562 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.154, allocations: 0 / 1.102 GB, free: 14.4 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.0007517/1.154, allocations: 422.5 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.155, allocations: 8.656 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/1.155, allocations: 7.906 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.155, allocations: 167.6 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/1.155, allocations: 5.094 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/1.155, allocations: 4 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/1.155, allocations: 23.98 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/1.155, allocations: 58.47 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/1.155, allocations: 5.156 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/1.155, allocations: 0.5 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.155, allocations: 1.312 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/1.156, allocations: 291.1 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/1.156, allocations: 36.83 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/1.156, allocations: 24.98 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.434e-05/1.156, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/1.156, allocations: 76.83 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.157, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004008/1.157, allocations: 93.67 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.157, allocations: 55.47 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/1.157, allocations: 114.3 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/1.157, allocations: 29.7 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/1.157, allocations: 93.69 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/1.157, allocations: 19.75 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/1.157, allocations: 1.906 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.157, allocations: 322.8 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.314e-05/1.158, allocations: 16 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/1.158, allocations: 40.48 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/1.158, allocations: 27.45 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/1.158, allocations: 0 / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002621/1.158, allocations: 89.52 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.158, allocations: 10.03 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.158, allocations: 0 / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.158, allocations: 0.5 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/1.158, allocations: 14.81 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/1.158, allocations: 8.859 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/1.158, allocations: 4 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/1.159, allocations: 4 kB / 1.104 GB, free: 12.18 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.0001191/1.159, allocations: 116.8 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002625/1.159, allocations: 101.5 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/1.159, allocations: 4 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/1.159, allocations: 12.61 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.159, allocations: 4 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.159, allocations: 3.188 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.159, allocations: 3.953 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/1.16, allocations: 328.8 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.16, allocations: 0 / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/1.16, allocations: 11.98 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/1.16, allocations: 4 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/1.16, allocations: 0 / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.16, allocations: 3.938 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/1.16, allocations: 3.953 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/1.16, allocations: 191.5 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/1.16, allocations: 92.94 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/1.16, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/1.16, allocations: 8 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/1.16, allocations: 11.94 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.16, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.153e-05/1.161, allocations: 95.27 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/1.161, allocations: 0 / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005107/1.161, allocations: 43.94 kB / 1.105 GB, free: 11.07 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.001071/1.162, allocations: 0.7928 MB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002296/1.162, allocations: 55.92 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.162, allocations: 4 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.082e-05/1.163, allocations: 28.11 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/1.163, allocations: 9.891 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/1.163, allocations: 144.5 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/1.164, allocations: 0.6885 MB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.701e-05/1.164, allocations: 8.266 kB / 1.107 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/1.164, allocations: 23.42 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of SimCode: time 3.387e-06/1.164, allocations: 4 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03793/1.202, allocations: 2.18 MB / 1.109 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003099/1.202, allocations: 191.7 kB / 1.109 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/3.672, allocations: 0 / 1.109 GB, free: 6.93 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)