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.653/1.653, allocations: 285.4 MB / 298 MB, free: 5.98 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.00105/0.00105, allocations: 180.8 kB / 366.4 MB, free: 2.074 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.699/1.699, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0009443/0.0009446, allocations: 93.72 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.634e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8003/0.8004, allocations: 115.3 MB / 0.971 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/1.016, allocations: 140.4 MB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/1.016, allocations: 79.95 kB / 1.108 GB, free: 11.3 MB / 0.7136 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.01292/1.029, allocations: 3.811 MB / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.754e-06/1.029, allocations: 0 / 1.112 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.688e-06/1.029, allocations: 7.469 kB / 1.112 GB, free: 7.535 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008508/1.03, allocations: 0.522 MB / 1.112 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.03, allocations: 8.031 kB / 1.112 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.608e-05/1.03, allocations: 38.56 kB / 1.112 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/1.03, allocations: 14.98 kB / 1.112 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/1.03, allocations: 183.5 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/1.03, allocations: 11.94 kB / 1.113 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.468e-05/1.03, allocations: 5.594 kB / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/1.031, allocations: 99.16 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.031, allocations: 0 / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/1.031, allocations: 1.312 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.031, allocations: 4 kB / 1.113 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/1.031, allocations: 55.92 kB / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/1.032, allocations: 416.4 kB / 1.113 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/1.032, allocations: 58.58 kB / 1.113 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.472e-05/1.032, allocations: 44.84 kB / 1.113 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/1.032, allocations: 8 kB / 1.113 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/1.033, allocations: 99.3 kB / 1.113 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.585e-06/1.033, allocations: 0 / 1.113 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004006/1.033, allocations: 155.7 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.033, allocations: 55.41 kB / 1.114 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.033, allocations: 136.2 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/1.033, allocations: 25.7 kB / 1.114 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.122e-05/1.033, allocations: 108.4 kB / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/1.033, allocations: 19.8 kB / 1.114 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/1.033, allocations: 4 kB / 1.114 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.034, allocations: 322.8 kB / 1.114 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/1.034, allocations: 24 kB / 1.114 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.875e-05/1.034, allocations: 61.16 kB / 1.114 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.971e-05/1.034, allocations: 31.98 kB / 1.114 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/1.034, allocations: 0 / 1.114 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002398/1.034, allocations: 129.3 kB / 1.114 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.034, allocations: 5.406 kB / 1.114 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/1.034, allocations: 0 / 1.114 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.034, allocations: 4.094 kB / 1.114 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/1.034, allocations: 39.97 kB / 1.114 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.034, allocations: 5.406 kB / 1.114 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/1.034, allocations: 22.73 kB / 1.115 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/1.035, allocations: 4 kB / 1.115 GB, free: 4.605 MB / 0.7136 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 () * 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 9.888e-05/1.035, allocations: 112.9 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/1.035, allocations: 11.91 kB / 1.115 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/1.035, allocations: 12.73 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.035, allocations: 7.922 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.035, allocations: 7.953 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/1.035, allocations: 0 / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/1.035, allocations: 452.2 kB / 1.115 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.035, allocations: 0 / 1.115 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.268e-05/1.035, allocations: 15.98 kB / 1.115 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/1.035, allocations: 0 / 1.115 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/1.035, allocations: 11.94 kB / 1.115 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.035, allocations: 4 kB / 1.115 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.035, allocations: 0 / 1.115 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/1.036, allocations: 247.3 kB / 1.115 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/1.036, allocations: 81.02 kB / 1.115 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/1.036, allocations: 4 kB / 1.115 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/1.036, allocations: 35.92 kB / 1.115 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/1.036, allocations: 7.984 kB / 1.115 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/1.036, allocations: 11.36 kB / 1.115 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.774e-05/1.036, allocations: 110.1 kB / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.036, allocations: 0 / 1.116 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003882/1.037, allocations: 71.77 kB / 1.116 GB, free: 3.336 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: 1 (win.on) * 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.001029/1.038, allocations: 0.8388 MB / 1.116 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002404/1.038, allocations: 83.91 kB / 1.117 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.038, allocations: 4.25 kB / 1.117 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/1.038, allocations: 55.92 kB / 1.117 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/1.038, allocations: 15.94 kB / 1.117 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/1.039, allocations: 201.4 kB / 1.117 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/1.039, allocations: 0.7004 MB / 1.118 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.496e-05/1.039, allocations: 16.16 kB / 1.118 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/1.04, allocations: 31.42 kB / 1.118 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/1.04, allocations: 0 / 1.118 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/1.056, allocations: 3.262 MB / 1.121 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/1.057, allocations: 217.7 kB / 1.121 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.68, allocations: 6.797 kB / 1.121 GB, free: 14.05 MB / 0.7292 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)