Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn",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.471/1.471, allocations: 251.9 MB / 266.8 MB, free: 11.04 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.001267/0.001267, allocations: 180.4 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, 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.0009599/0.00096, allocations: 90.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 9.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2794, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.4783, allocations: 133.7 MB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.4787, allocations: 83.94 kB / 1.031 GB, free: 9.848 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.009675/0.4884, allocations: 2.99 MB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.667e-06/0.4884, allocations: 0 / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.4884, allocations: 0 / 1.034 GB, free: 6.852 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007543/0.4892, allocations: 432.7 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.4893, allocations: 8.031 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.607e-05/0.4894, allocations: 30.56 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.4894, allocations: 7.906 kB / 1.034 GB, free: 6.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.4896, allocations: 182.8 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.4896, allocations: 11.98 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4897, allocations: 4 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4899, allocations: 69.59 kB / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4899, allocations: 0 / 1.034 GB, free: 6.012 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.49, allocations: 4 kB / 1.034 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.49, allocations: 0 / 1.034 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.4901, allocations: 47.97 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007652/0.4909, allocations: 312.8 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.4911, allocations: 58.5 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.4911, allocations: 0 / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.4913, allocations: 79.44 kB / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.4913, allocations: 0 / 1.035 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004401/0.4918, allocations: 161.5 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.4919, allocations: 59.34 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.492, allocations: 109 kB / 1.035 GB, free: 5.102 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.492, allocations: 29.7 kB / 1.035 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.4921, allocations: 84.33 kB / 1.035 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.4921, allocations: 19.8 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.4922, allocations: 8 kB / 1.035 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.4923, allocations: 316.8 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/0.4924, allocations: 27.98 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.4925, allocations: 55.84 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.4926, allocations: 39.98 kB / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.4927, allocations: 0 / 1.036 GB, free: 4.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002637/0.4929, allocations: 121.4 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.493, allocations: 8 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.493, allocations: 8 kB / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.493, allocations: 0 / 1.036 GB, free: 4.359 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.4931, allocations: 15.98 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4931, allocations: 0 / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.4932, allocations: 11.95 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.4933, allocations: 7.984 kB / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$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 (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.0001168/0.4934, allocations: 125.7 kB / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.4934, allocations: 7.906 kB / 1.036 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.52e-05/0.4935, allocations: 12.38 kB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4935, allocations: 0 / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4935, allocations: 0 / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.4935, allocations: 3.984 kB / 1.036 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.494, allocations: 378.5 kB / 1.036 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.494, allocations: 4 kB / 1.036 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.4941, allocations: 15.92 kB / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4941, allocations: 0 / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4941, allocations: 0 / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.4941, allocations: 0 / 1.037 GB, free: 3.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4941, allocations: 3.953 kB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.4944, allocations: 215.4 kB / 1.037 GB, free: 3.492 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.4945, allocations: 85.02 kB / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.4946, allocations: 0 / 1.037 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.273e-05/0.4947, allocations: 11.98 kB / 1.037 GB, free: 3.379 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.4947, allocations: 7.953 kB / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.4947, allocations: 0 / 1.037 GB, free: 3.371 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.4948, allocations: 95.42 kB / 1.037 GB, free: 3.277 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4948, allocations: 7.938 kB / 1.037 GB, free: 3.27 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003871/0.4952, allocations: 55.92 kB / 1.037 GB, free: 3.215 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked 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.0009743/0.4962, allocations: 0.8254 MB / 1.038 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002475/0.4965, allocations: 71.91 kB / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.4965, allocations: 0 / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.4966, allocations: 44.09 kB / 1.038 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.4968, allocations: 10.22 kB / 1.038 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.4979, allocations: 0.88 MB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4982, allocations: 0.6887 MB / 1.039 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.943e-05/0.4983, allocations: 8.188 kB / 1.039 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.467e-05/0.4983, allocations: 23.42 kB / 1.039 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.4984, allocations: 0 / 1.039 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01527/0.5136, allocations: 2.508 MB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.5139, allocations: 243 kB / 1.042 GB, free: 13.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.106, allocations: 0 / 1.042 GB, free: 13.96 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)