Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.461/4.461, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.483e-05, allocations: 2.844 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/0.4648, allocations: 125.8 MB / 0.7517 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003268/0.4652, allocations: 75.95 kB / 0.7518 GB, free: 11.14 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.01373/0.479, allocations: 2.904 MB / 0.7546 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.479, allocations: 7.938 kB / 0.7546 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.479, allocations: 0 / 0.7546 GB, free: 8.215 MB / 0.6355 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.0006624/0.4797, allocations: 412.7 kB / 0.755 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4798, allocations: 8.031 kB / 0.755 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.4798, allocations: 7.953 kB / 0.755 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.48, allocations: 174.9 kB / 0.7552 GB, free: 7.535 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.48, allocations: 4 kB / 0.7552 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.4801, allocations: 3.984 kB / 0.7552 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.4802, allocations: 24 kB / 0.7552 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.4803, allocations: 65.59 kB / 0.7553 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.4804, allocations: 0 / 0.7553 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4804, allocations: 0 / 0.7553 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4804, allocations: 3.953 kB / 0.7553 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.4812, allocations: 289.4 kB / 0.7556 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.4813, allocations: 34.58 kB / 0.7556 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.4814, allocations: 29.58 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.4814, allocations: 0 / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.4816, allocations: 71.27 kB / 0.7557 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.4816, allocations: 0 / 0.7557 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003457/0.482, allocations: 109.6 kB / 0.7558 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.482, allocations: 55.39 kB / 0.7558 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.4822, allocations: 105 kB / 0.7559 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.4822, allocations: 29.7 kB / 0.756 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.4823, allocations: 92.22 kB / 0.7561 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.4823, allocations: 11.91 kB / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.4823, allocations: 0 / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4825, allocations: 314.8 kB / 0.7564 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.4825, allocations: 24 kB / 0.7564 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.376e-05/0.4826, allocations: 42.45 kB / 0.7564 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.4827, allocations: 23.98 kB / 0.7565 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.4828, allocations: 0 / 0.7565 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002446/0.483, allocations: 93.5 kB / 0.7566 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.483, allocations: 4 kB / 0.7566 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4831, allocations: 4 kB / 0.7566 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4831, allocations: 4.062 kB / 0.7566 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.4832, allocations: 11.98 kB / 0.7566 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4833, allocations: 7.953 kB / 0.7566 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.4834, allocations: 11.84 kB / 0.7566 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4834, allocations: 4 kB / 0.7566 GB, free: 5.961 MB / 0.6355 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 9.146e-05/0.4835, allocations: 105 kB / 0.7567 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002458/0.4838, allocations: 97.59 kB / 0.7568 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.4838, allocations: 11.91 kB / 0.7568 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.4839, allocations: 8.625 kB / 0.7568 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.4839, allocations: 7.953 kB / 0.7568 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4839, allocations: 0 / 0.7568 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.4839, allocations: 3.938 kB / 0.7568 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.4844, allocations: 331.1 kB / 0.7571 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4845, allocations: 3.938 kB / 0.7571 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/0.4845, allocations: 4 kB / 0.7571 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.4846, allocations: 0 / 0.7571 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.4846, allocations: 11.95 kB / 0.7572 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4846, allocations: 0 / 0.7572 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.4846, allocations: 4 kB / 0.7572 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.4849, allocations: 191.4 kB / 0.7573 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.485, allocations: 85.02 kB / 0.7574 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.485, allocations: 0 / 0.7574 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.4852, allocations: 13.62 kB / 0.7574 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.4852, allocations: 4 kB / 0.7574 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.4852, allocations: 4 kB / 0.7574 GB, free: 5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.708e-05/0.4853, allocations: 95.27 kB / 0.7575 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4853, allocations: 0 / 0.7575 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004478/0.4858, allocations: 43.94 kB / 0.7576 GB, free: 4.863 MB / 0.6355 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.0009814/0.4868, allocations: 0.8139 MB / 0.7584 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002185/0.487, allocations: 55.92 kB / 0.7584 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.487, allocations: 0 / 0.7584 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.4871, allocations: 24 kB / 0.7584 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.4874, allocations: 16.08 kB / 0.7585 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/0.488, allocations: 142 kB / 0.7586 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4883, allocations: 0.6924 MB / 0.7593 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.296e-05/0.4884, allocations: 8.172 kB / 0.7593 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.4885, allocations: 19.44 kB / 0.7593 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/0.4885, allocations: 0 / 0.7593 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.526, allocations: 2.178 MB / 0.7614 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/0.5264, allocations: 195.9 kB / 0.7616 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.532/3.058, allocations: 4 kB / 0.7616 GB, free: 0.6445 MB / 0.6355 GB