Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.715/2.715, allocations: 284.9 MB / 292.4 MB, free: 10.6 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.001415/0.001415, allocations: 180.9 kB / 360.6 MB, free: 7.297 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.125/2.125, 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.001112/0.001111, allocations: 84.66 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.669e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8246/0.8246, allocations: 115.3 MB / 0.9634 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2554/1.08, allocations: 139.4 MB / 1.1 GB, free: 1.012 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/1.08, allocations: 80.62 kB / 1.1 GB, free: 0.9336 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.01856/1.099, allocations: 3.582 MB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/1.099, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.166e-05/1.099, allocations: 4 kB / 1.103 GB, free: 13.41 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009197/1.1, allocations: 465.9 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.1, allocations: 8.031 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/1.1, allocations: 16.56 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/1.1, allocations: 179.4 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/1.1, allocations: 9.844 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/1.101, allocations: 4 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001744/1.101, allocations: 35.94 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/1.101, allocations: 81.64 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.101, allocations: 3.125 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/1.101, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.101, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/1.102, allocations: 348.5 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/1.103, allocations: 56.78 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/1.103, allocations: 40.86 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/1.103, allocations: 112 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/1.103, allocations: 95.3 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/1.103, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.000531/1.104, allocations: 145.5 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/1.104, allocations: 55.36 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/1.104, allocations: 128.1 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/1.104, allocations: 29.7 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/1.104, allocations: 98.98 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/1.104, allocations: 19.72 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.219e-05/1.104, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.104, allocations: 322.8 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.236e-05/1.104, allocations: 27.98 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/1.104, allocations: 56.3 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/1.104, allocations: 39.92 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/1.104, allocations: 0 / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003312/1.105, allocations: 129.4 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.105, allocations: 4 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.105, allocations: 0 / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.105, allocations: 4 kB / 1.105 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/1.105, allocations: 23.92 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/1.105, allocations: 0 / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/1.105, allocations: 23.97 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/1.105, allocations: 4 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001169/1.106, allocations: 112.8 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004216/1.106, allocations: 145.4 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/1.106, allocations: 11.89 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/1.106, allocations: 8.625 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.106, allocations: 4 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.106, allocations: 7.953 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.106, allocations: 1.969 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/1.107, allocations: 407.1 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.107, allocations: 0 / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/1.107, allocations: 11.98 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.107, allocations: 0 / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/1.107, allocations: 4 kB / 1.106 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1.107, allocations: 3.953 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.107, allocations: 3.938 kB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/1.108, allocations: 246.1 kB / 1.106 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/1.108, allocations: 88.92 kB / 1.106 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/1.108, allocations: 0 / 1.106 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/1.108, allocations: 11.98 kB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/1.108, allocations: 15.88 kB / 1.107 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/1.108, allocations: 4 kB / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.818e-05/1.108, allocations: 107.8 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.4e-07/1.108, allocations: 0 / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005027/1.109, allocations: 51.94 kB / 1.107 GB, free: 9.473 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00121/1.11, allocations: 0.849 MB / 1.107 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003229/1.11, allocations: 79.92 kB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.11, allocations: 0 / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/1.11, allocations: 47.92 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/1.111, allocations: 14.77 kB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007897/1.112, allocations: 192.7 kB / 1.108 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/1.112, allocations: 0.7002 MB / 1.108 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.288e-05/1.112, allocations: 7.984 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.883e-05/1.112, allocations: 27.42 kB / 1.109 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/1.112, allocations: 0 / 1.109 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/1.152, allocations: 2.84 MB / 1.111 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/1.153, allocations: 196.2 kB / 1.111 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.765, allocations: 2.391 kB / 1.111 GB, free: 4.527 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)