Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.436/2.436, allocations: 248.5 MB / 261.1 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 180.8 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001079/0.001079, allocations: 99.67 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.833e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8822/1.094, allocations: 133.9 MB / 1.021 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/1.095, allocations: 81.38 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.02005/1.115, allocations: 3.809 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.064e-06/1.115, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.88e-05/1.115, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.6511 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.001147/1.116, allocations: 0.5203 MB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/1.116, allocations: 8.031 kB / 1.026 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.042e-05/1.116, allocations: 34.44 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.714e-05/1.116, allocations: 23.75 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000204/1.117, allocations: 178.8 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/1.117, allocations: 3.438 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/1.117, allocations: 8 kB / 1.026 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/1.117, allocations: 98.8 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.117, allocations: 4 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/1.117, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/1.117, allocations: 4 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/1.117, allocations: 57.25 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/1.119, allocations: 419.8 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/1.119, allocations: 57.2 kB / 1.027 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/1.119, allocations: 46.59 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/1.119, allocations: 4 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002986/1.12, allocations: 105.2 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 3.727e-06/1.12, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0005865/1.12, allocations: 150.4 kB / 1.027 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/1.12, allocations: 55.41 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/1.121, allocations: 136 kB / 1.027 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/1.121, allocations: 29.7 kB / 1.027 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.392e-05/1.121, allocations: 105 kB / 1.027 GB, free: 12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/1.121, allocations: 27.69 kB / 1.027 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/1.121, allocations: 3.938 kB / 1.027 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.121, allocations: 317.3 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/1.121, allocations: 27.11 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/1.121, allocations: 60.22 kB / 1.028 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/1.121, allocations: 40.03 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.121, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004057/1.122, allocations: 124.8 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/1.122, allocations: 11.95 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.122, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/1.122, allocations: 8.125 kB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/1.122, allocations: 23.97 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.122, allocations: 0.5469 kB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/1.123, allocations: 23.34 kB / 1.028 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/1.123, allocations: 7.984 kB / 1.028 GB, free: 11.37 MB / 0.6511 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 0.0001499/1.123, allocations: 116.7 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/1.123, allocations: 7.906 kB / 1.028 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.894e-05/1.123, allocations: 16.02 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/1.123, allocations: 0 / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.123, allocations: 0 / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.123, allocations: 3.984 kB / 1.028 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009103/1.124, allocations: 456.3 kB / 1.028 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.124, allocations: 0 / 1.028 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/1.124, allocations: 23.94 kB / 1.028 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/1.124, allocations: 0 / 1.028 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/1.124, allocations: 112 / 1.028 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/1.124, allocations: 7.922 kB / 1.028 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.124, allocations: 3.938 kB / 1.028 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/1.125, allocations: 245.2 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/1.125, allocations: 85.2 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/1.125, allocations: 7.578 kB / 1.029 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003843/1.125, allocations: 39.84 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/1.125, allocations: 11.3 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/1.125, allocations: 7.984 kB / 1.029 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001169/1.125, allocations: 102.5 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.126, allocations: 0 / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005206/1.126, allocations: 59.48 kB / 1.029 GB, free: 10.23 MB / 0.6511 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.001386/1.127, allocations: 0.8507 MB / 1.03 GB, free: 9.414 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003988/1.128, allocations: 96 kB / 1.03 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.128, allocations: 3.938 kB / 1.03 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/1.128, allocations: 45.06 kB / 1.03 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/1.128, allocations: 14.19 kB / 1.03 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009093/1.129, allocations: 204.5 kB / 1.03 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/1.13, allocations: 0.7099 MB / 1.031 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001074/1.13, allocations: 7.984 kB / 1.031 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/1.13, allocations: 32.36 kB / 1.031 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of SimCode: time 1.433e-06/1.13, allocations: 0 / 1.031 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/1.155, allocations: 3.255 MB / 1.034 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003697/1.156, allocations: 218.6 kB / 1.034 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.685, allocations: 7.375 kB / 1.034 GB, free: 5.004 MB / 0.6511 GB