Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.803/1.803, allocations: 288.2 MB / 303.2 MB, free: 8.188 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.001093/0.001093, allocations: 185 kB / 371.8 MB, free: 10.27 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.024/2.024, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 86.47 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004225, allocations: 12.44 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2721, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8674/1.14, allocations: 140.5 MB / 1.117 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.14, allocations: 88.14 kB / 1.117 GB, free: 16.41 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.01185/1.152, allocations: 3.826 MB / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.152, allocations: 3.938 kB / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.248e-06/1.152, allocations: 3.875 kB / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007051/1.153, allocations: 0.5405 MB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.153, allocations: 7.688 kB / 1.121 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.842e-05/1.153, allocations: 38.22 kB / 1.121 GB, free: 31.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/1.153, allocations: 11.72 kB / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/1.153, allocations: 185.2 kB / 1.121 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/1.153, allocations: 3.844 kB / 1.121 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/1.153, allocations: 15.41 kB / 1.121 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/1.153, allocations: 146.1 kB / 1.121 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/1.153, allocations: 4 kB / 1.121 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/1.153, allocations: 7.594 kB / 1.121 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.153, allocations: 0 / 1.121 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/1.154, allocations: 126.5 kB / 1.122 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008929/1.155, allocations: 408.9 kB / 1.122 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000315/1.155, allocations: 116.9 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/1.155, allocations: 3.844 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/1.155, allocations: 159.6 kB / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/1.155, allocations: 0 / 1.122 GB, free: 30.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.001016/1.156, allocations: 360.1 kB / 1.123 GB, free: 30.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/1.157, allocations: 59.02 kB / 1.123 GB, free: 30.57 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/1.157, allocations: 132.1 kB / 1.123 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/1.157, allocations: 33.42 kB / 1.123 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/1.157, allocations: 106.5 kB / 1.123 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/1.157, allocations: 22.05 kB / 1.123 GB, free: 30.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/1.157, allocations: 0 / 1.123 GB, free: 30.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.157, allocations: 321.7 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/1.157, allocations: 46.66 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/1.157, allocations: 84.39 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/1.157, allocations: 58.66 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.157, allocations: 0 / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003087/1.158, allocations: 171.5 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/1.158, allocations: 7.812 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/1.158, allocations: 0 / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/1.158, allocations: 3.969 kB / 1.124 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.158, allocations: 24.73 kB / 1.124 GB, free: 29.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.158, allocations: 11.91 kB / 1.124 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/1.158, allocations: 18.58 kB / 1.124 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/1.158, allocations: 3.781 kB / 1.124 GB, free: 29.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001036/1.158, allocations: 133.6 kB / 1.124 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/1.158, allocations: 7.656 kB / 1.124 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/1.158, allocations: 12.53 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/1.158, allocations: 0 / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.158, allocations: 4 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.158, allocations: 14.88 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008886/1.159, allocations: 0.5517 MB / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.159, allocations: 4 kB / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.089e-05/1.159, allocations: 14.52 kB / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.159, allocations: 112 / 1.124 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/1.159, allocations: 10.59 kB / 1.124 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/1.159, allocations: 3.953 kB / 1.124 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.159, allocations: 3.875 kB / 1.124 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006769/1.16, allocations: 351.7 kB / 1.125 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/1.16, allocations: 88.86 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/1.16, allocations: 3.875 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/1.16, allocations: 31.59 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/1.16, allocations: 17.34 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/1.16, allocations: 6.266 kB / 1.125 GB, free: 29.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.563e-05/1.16, allocations: 103.7 kB / 1.125 GB, free: 29.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/1.16, allocations: 3.844 kB / 1.125 GB, free: 29.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003414/1.161, allocations: 53.06 kB / 1.125 GB, free: 29.11 MB / 0.698 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: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0012/1.162, allocations: 0.9604 MB / 1.126 GB, free: 28.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004699/1.162, allocations: 163.7 kB / 1.126 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.162, allocations: 3.906 kB / 1.126 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/1.163, allocations: 106.4 kB / 1.126 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/1.163, allocations: 10.38 kB / 1.126 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/1.164, allocations: 1.298 MB / 1.127 GB, free: 27.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/1.164, allocations: 0.7036 MB / 1.128 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.444e-05/1.164, allocations: 15.86 kB / 1.128 GB, free: 26.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/1.165, allocations: 35.42 kB / 1.128 GB, free: 26.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/1.165, allocations: 0 / 1.128 GB, free: 26.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/1.178, allocations: 3.243 MB / 1.131 GB, free: 26.15 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.178, allocations: 257.4 kB / 1.132 GB, free: 25.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.794, allocations: 4 kB / 1.132 GB, free: 25.81 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)