Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001311, allocations: 181.5 kB / 326.5 MB, free: 2.246 MB / 250.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.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 86.41 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003687, allocations: 9.062 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1966/0.4843, allocations: 134 MB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.4847, allocations: 83.95 kB / 1.031 GB, free: 9.516 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.01152/0.4962, allocations: 3.613 MB / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4963, allocations: 0 / 1.035 GB, free: 5.891 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.4963, allocations: 0 / 1.035 GB, free: 5.891 MB / 0.6823 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.0006968/0.497, allocations: 486.5 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.497, allocations: 12.03 kB / 1.035 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.4971, allocations: 38.5 kB / 1.035 GB, free: 5.297 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.4971, allocations: 11.86 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4973, allocations: 183.4 kB / 1.035 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.4973, allocations: 8 kB / 1.035 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.4974, allocations: 7.938 kB / 1.035 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.4976, allocations: 105.6 kB / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.4977, allocations: 3.984 kB / 1.035 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.4977, allocations: 4 kB / 1.035 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4977, allocations: 0 / 1.035 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.4979, allocations: 71.95 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008912/0.4988, allocations: 376.6 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.499, allocations: 70.55 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.499, allocations: 4 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.4992, allocations: 105.3 kB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.4993, allocations: 0 / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0005765/0.4998, allocations: 241.3 kB / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.4999, allocations: 55.34 kB / 1.036 GB, free: 3.938 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.5, allocations: 132.9 kB / 1.036 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.5001, allocations: 29.81 kB / 1.036 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.5002, allocations: 104.3 kB / 1.037 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.5002, allocations: 23.86 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.5002, allocations: 4 kB / 1.037 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5004, allocations: 322.8 kB / 1.037 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.5005, allocations: 39.97 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.5007, allocations: 86.64 kB / 1.037 GB, free: 3.172 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.5008, allocations: 51.97 kB / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5008, allocations: 8 kB / 1.037 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003306/0.5011, allocations: 161.4 kB / 1.037 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5012, allocations: 4 kB / 1.037 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5012, allocations: 4 kB / 1.037 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5012, allocations: 96 / 1.037 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.5014, allocations: 27.92 kB / 1.037 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.5014, allocations: 8.312 kB / 1.037 GB, free: 2.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.897e-05/0.5015, allocations: 15.84 kB / 1.037 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.5015, allocations: 8 kB / 1.037 GB, free: 2.883 MB / 0.6823 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 () * Number of clocked 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.0001189/0.5016, allocations: 124.2 kB / 1.037 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.5017, allocations: 15.84 kB / 1.037 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.5017, allocations: 12.72 kB / 1.037 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.5017, allocations: 0 / 1.037 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5017, allocations: 0 / 1.037 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5017, allocations: 3.953 kB / 1.037 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000641/0.5024, allocations: 466.4 kB / 1.038 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.5024, allocations: 0 / 1.038 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.772e-05/0.5025, allocations: 19.92 kB / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.5025, allocations: 0 / 1.038 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.5025, allocations: 7.984 kB / 1.038 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.5025, allocations: 3.953 kB / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5025, allocations: 0 / 1.038 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.5029, allocations: 275.3 kB / 1.038 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.503, allocations: 88.92 kB / 1.038 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.503, allocations: 0 / 1.038 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5032, allocations: 11.98 kB / 1.038 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.5032, allocations: 15.94 kB / 1.038 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.5032, allocations: 4 kB / 1.038 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.087e-05/0.5033, allocations: 107.8 kB / 1.038 GB, free: 1.648 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5033, allocations: 3.938 kB / 1.038 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003516/0.5037, allocations: 52 kB / 1.038 GB, free: 1.594 MB / 0.6823 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) * Number of clocked states: 0 () * 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.001064/0.5048, allocations: 0.8888 MB / 1.039 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.5051, allocations: 123.8 kB / 1.039 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5051, allocations: 0 / 1.039 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.5053, allocations: 60.16 kB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.5055, allocations: 27.17 kB / 1.04 GB, free: 500 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.5067, allocations: 1.099 MB / 1.041 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.507, allocations: 0.7004 MB / 1.041 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.159e-05/0.507, allocations: 7.984 kB / 1.041 GB, free: 14.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.5071, allocations: 27.7 kB / 1.041 GB, free: 14.56 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.5071, allocations: 0 / 1.041 GB, free: 14.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.5229, allocations: 3.173 MB / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.5231, allocations: 256.6 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.235, allocations: 2.953 kB / 1.045 GB, free: 11.22 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)