Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.539/2.539, allocations: 248.5 MB / 261.1 MB, free: 6.008 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.001473/0.001473, allocations: 178.7 kB / 320.4 MB, free: 15.35 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.203/2.203, allocations: 205.2 MB / 0.571 GB, free: 11.77 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.001026/0.001026, allocations: 98.42 kB / 0.6754 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.486e-05/5.474e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2277, allocations: 106.3 MB / 0.8907 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8986/1.126, allocations: 133.5 MB / 1.021 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/1.127, allocations: 88.17 kB / 1.021 GB, free: 1.77 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.01426/1.141, allocations: 2.974 MB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/1.141, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.141, allocations: 4 kB / 1.024 GB, free: 15.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007266/1.142, allocations: 403 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.142, allocations: 16.02 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/1.142, allocations: 34.31 kB / 1.024 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/1.142, allocations: 11.86 kB / 1.024 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/1.142, allocations: 188 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/1.142, allocations: 7.188 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/1.142, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/1.142, allocations: 56.23 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/1.143, allocations: 7.984 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/1.143, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.143, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/1.143, allocations: 19.69 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008484/1.144, allocations: 320.1 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/1.144, allocations: 40.89 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/1.144, allocations: 31.28 kB / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/1.144, allocations: 0 / 1.025 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/1.144, allocations: 74.89 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/1.144, allocations: 0 / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003488/1.144, allocations: 106.1 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/1.144, allocations: 55.41 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.145, allocations: 110 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/1.145, allocations: 25.7 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/1.145, allocations: 90.95 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/1.145, allocations: 23.48 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/1.145, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.145, allocations: 313.8 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/1.145, allocations: 22.19 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/1.145, allocations: 44.91 kB / 1.026 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.652e-05/1.145, allocations: 22.98 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.145, allocations: 0 / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002926/1.145, allocations: 103.8 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.146, allocations: 8 kB / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.146, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.146, allocations: 0 / 1.026 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/1.146, allocations: 15.94 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.146, allocations: 4 kB / 1.026 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/1.146, allocations: 15.39 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/1.146, allocations: 4 kB / 1.026 GB, free: 13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete 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.0001057/1.146, allocations: 113 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/1.146, allocations: 4 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/1.146, allocations: 8.562 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/1.146, allocations: 3.938 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/1.146, allocations: 3.953 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.146, allocations: 3.984 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/1.147, allocations: 363.8 kB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.147, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/1.147, allocations: 14.8 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.147, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/1.147, allocations: 4.828 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.147, allocations: 0 / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.147, allocations: 7.938 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/1.147, allocations: 186 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.724e-05/1.147, allocations: 85.02 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/1.147, allocations: 3.438 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/1.148, allocations: 15.95 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/1.148, allocations: 7.984 kB / 1.027 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/1.148, allocations: 3.938 kB / 1.027 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.16e-05/1.148, allocations: 101.8 kB / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.148, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004353/1.148, allocations: 47.06 kB / 1.027 GB, free: 12.02 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: 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.001035/1.149, allocations: 0.8015 MB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002732/1.149, allocations: 64.91 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.15, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.393e-05/1.15, allocations: 22.88 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/1.15, allocations: 15.39 kB / 1.028 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006956/1.151, allocations: 151 kB / 1.028 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.151, allocations: 0.6887 MB / 1.029 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.386e-05/1.151, allocations: 8.172 kB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/1.151, allocations: 21.94 kB / 1.029 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of SimCode: time 9.41e-07/1.151, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/1.174, allocations: 2.507 MB / 1.031 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002937/1.174, allocations: 208.6 kB / 1.031 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.52, allocations: 0 / 1.031 GB, free: 7.648 MB / 0.6511 GB