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.Zhang2012WindowsSouth.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01165/0.01165, allocations: 107.8 kB / 15.05 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00262/0.002618, allocations: 184.9 kB / 15.94 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.367/2.367, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.544/2.544, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000663/0.0006632, allocations: 15.98 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.7024, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2818/0.9843, allocations: 126.5 MB / 0.807 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.9847, allocations: 83.94 kB / 0.807 GB, free: 15.57 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.01488/0.9996, allocations: 2.94 MB / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.146e-06/0.9997, allocations: 0 / 0.8099 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.298e-06/0.9997, allocations: 4 kB / 0.8099 GB, free: 12.62 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.0008601/1.001, allocations: 432.8 kB / 0.8103 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/1.001, allocations: 8.031 kB / 0.8103 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/1.001, allocations: 30.56 kB / 0.8104 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/1.001, allocations: 11.86 kB / 0.8104 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/1.001, allocations: 178.9 kB / 0.8105 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/1.001, allocations: 4 kB / 0.8105 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/1.001, allocations: 8 kB / 0.8106 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/1.001, allocations: 69.66 kB / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.001, allocations: 0 / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/1.001, allocations: 0 / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.001, allocations: 0 / 0.8106 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002357/1.002, allocations: 43.97 kB / 0.8107 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009057/1.003, allocations: 324.7 kB / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/1.003, allocations: 46.56 kB / 0.811 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/1.003, allocations: 4 kB / 0.811 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/1.003, allocations: 79.48 kB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.586e-06/1.003, allocations: 3.938 kB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0006735/1.004, allocations: 161.5 kB / 0.8113 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/1.004, allocations: 55.39 kB / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/1.004, allocations: 116.9 kB / 0.8114 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/1.004, allocations: 25.7 kB / 0.8114 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/1.004, allocations: 92.27 kB / 0.8115 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/1.004, allocations: 15.8 kB / 0.8115 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-05/1.004, allocations: 4 kB / 0.8115 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.004, allocations: 318.8 kB / 0.8119 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/1.005, allocations: 27.98 kB / 0.8119 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/1.005, allocations: 50.55 kB / 0.8119 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/1.005, allocations: 39.98 kB / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.005, allocations: 0 / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004116/1.005, allocations: 113.5 kB / 0.8121 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.005, allocations: 11.94 kB / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.005, allocations: 0 / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/1.005, allocations: 0 / 0.8121 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/1.006, allocations: 15.98 kB / 0.8121 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.006, allocations: 12.02 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/1.006, allocations: 4 kB / 0.8121 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/1.006, allocations: 7.984 kB / 0.8121 GB, free: 10.11 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 () * 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.0001283/1.006, allocations: 113.8 kB / 0.8122 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/1.006, allocations: 7.906 kB / 0.8122 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/1.006, allocations: 12.36 kB / 0.8122 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.006, allocations: 4 kB / 0.8123 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.006, allocations: 11.94 kB / 0.8123 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.006, allocations: 3.953 kB / 0.8123 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007096/1.007, allocations: 382.4 kB / 0.8126 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.007, allocations: 0 / 0.8126 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.474e-05/1.007, allocations: 4 kB / 0.8126 GB, free: 9.512 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.007, allocations: 3.938 kB / 0.8126 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/1.007, allocations: 11.98 kB / 0.8127 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/1.007, allocations: 3.953 kB / 0.8127 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.007, allocations: 0 / 0.8127 GB, free: 9.492 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004471/1.007, allocations: 211.4 kB / 0.8129 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/1.008, allocations: 81.02 kB / 0.8129 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.994e-05/1.008, allocations: 11.98 kB / 0.8129 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/1.008, allocations: 8 kB / 0.813 GB, free: 9.152 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/1.008, allocations: 7.938 kB / 0.813 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/1.008, allocations: 4 kB / 0.813 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.197e-05/1.008, allocations: 91.92 kB / 0.8131 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.7e-07/1.008, allocations: 0 / 0.8131 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004509/1.008, allocations: 55.81 kB / 0.8131 GB, free: 8.996 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 () * 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.00117/1.01, allocations: 0.8238 MB / 0.8139 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003825/1.01, allocations: 79.89 kB / 0.814 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.01, allocations: 0 / 0.814 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/1.01, allocations: 35.97 kB / 0.814 GB, free: 8.051 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/1.01, allocations: 16.05 kB / 0.814 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/1.011, allocations: 0.7325 MB / 0.8148 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/1.012, allocations: 0.6926 MB / 0.8154 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.004e-05/1.012, allocations: 192 / 0.8154 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/1.012, allocations: 23.42 kB / 0.8154 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.113e-06/1.012, allocations: 0 / 0.8154 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/1.035, allocations: 2.492 MB / 0.8179 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/1.036, allocations: 245.4 kB / 0.8181 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.503, allocations: 4 kB / 0.8181 GB, free: 3.883 MB / 0.6355 GB