Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 192.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.712/1.712, allocations: 292.2 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 68.61 kB / 0.671 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2432, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002868/0.2462, allocations: 1.558 MB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.2474, allocations: 0.7683 MB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.2475, allocations: 0 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.918e-05/0.2475, allocations: 3.938 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.713e-05/0.2476, allocations: 11.92 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 NFTyping.typeClassSections: time 0.0005408/0.2482, allocations: 103.8 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2483, allocations: 79.78 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.649e-05/0.2484, allocations: 19.97 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.2485, allocations: 31.86 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.2486, allocations: 35.89 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.2486, allocations: 8 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2488, allocations: 95.84 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.2488, allocations: 23.91 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.2489, allocations: 27.86 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.2491, allocations: 143.9 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2491, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2491, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2491, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 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.0006316/0.2497, allocations: 417 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2498, allocations: 8.031 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.2498, allocations: 8.844 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.2499, allocations: 184.1 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.25, allocations: 4.375 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.25, allocations: 4.375 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.2502, allocations: 77.91 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2502, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.2502, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2502, allocations: 0 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.2504, allocations: 35.97 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.2509, allocations: 316.8 kB / 0.7867 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.2511, allocations: 50.48 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.2512, allocations: 36.91 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.2512, allocations: 0 / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.2514, allocations: 91.34 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2514, allocations: 0 / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003655/0.2518, allocations: 125.6 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.2518, allocations: 59.34 kB / 0.787 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.252, allocations: 133.7 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.252, allocations: 25.7 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.252, allocations: 92.14 kB / 0.7873 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.2521, allocations: 15.75 kB / 0.7873 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.2521, allocations: 29.7 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2522, allocations: 326.8 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.651e-05/0.2523, allocations: 23.98 kB / 0.7877 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.621e-05/0.2524, allocations: 50.53 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.2526, allocations: 74.81 kB / 0.7878 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2526, allocations: 3.938 kB / 0.7878 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000223/0.2528, allocations: 121.5 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2528, allocations: 4 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2528, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2529, allocations: 8.062 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.312e-05/0.253, allocations: 11.98 kB / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.253, allocations: 0 / 0.7879 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.2531, allocations: 8 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2531, allocations: 7.984 kB / 0.7879 GB, free: 8.426 MB / 0.6075 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.511e-05/0.2532, allocations: 125.6 kB / 0.7881 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.2532, allocations: 7.906 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.2532, allocations: 8.375 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2532, allocations: 8 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2533, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2533, allocations: 0 / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.2537, allocations: 378.4 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2537, allocations: 0 / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.2538, allocations: 11.92 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2538, allocations: 0 / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2538, allocations: 4 kB / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2538, allocations: 0 / 0.7885 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2538, allocations: 11.94 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.2541, allocations: 207.4 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.2541, allocations: 85.02 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2542, allocations: 0 / 0.7887 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.2542, allocations: 7.984 kB / 0.7887 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.2543, allocations: 7.938 kB / 0.7888 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.2543, allocations: 11.94 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.2544, allocations: 91.27 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2544, allocations: 0 / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003195/0.2547, allocations: 39.98 kB / 0.7889 GB, free: 7.344 MB / 0.6075 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,win.occ,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003885/0.2551, allocations: 158.8 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002631/0.2554, allocations: 79.89 kB / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2554, allocations: 0 / 0.7891 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.461e-05/0.2555, allocations: 31.98 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.2558, allocations: 8 kB / 0.7892 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.2562, allocations: 205 kB / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.2565, allocations: 0.6885 MB / 0.79 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.2565, allocations: 11.97 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.2565, allocations: 11.44 kB / 0.79 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2566, allocations: 3.938 kB / 0.7901 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.003938/0.2605, allocations: 1.407 MB / 0.7914 GB, free: 4.711 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)