Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.295/2.295, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 176.2 kB / 325.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.358/2.358, allocations: 205.4 MB / 0.5766 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 99.02 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007486/0.0007487, allocations: 12.72 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2403, allocations: 106.2 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2613/0.5016, allocations: 133.8 MB / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/0.502, allocations: 87.89 kB / 1.03 GB, free: 11.81 MB / 0.6823 GB [/var/lib/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.0186/0.5206, allocations: 3.613 MB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5207, allocations: 0 / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.5207, allocations: 4 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009147/0.5216, allocations: 482.5 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.5217, allocations: 12.03 kB / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.493e-05/0.5218, allocations: 19.77 kB / 1.034 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.5219, allocations: 179.4 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.522, allocations: 8 kB / 1.034 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.522, allocations: 4 kB / 1.034 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.5224, allocations: 105.6 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.5224, allocations: 0 / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.5225, allocations: 7.969 kB / 1.034 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.5225, allocations: 4 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003615/0.5229, allocations: 71.95 kB / 1.034 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5242, allocations: 376.6 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002776/0.5245, allocations: 70.55 kB / 1.034 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.5245, allocations: 4 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/0.5249, allocations: 103.3 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 4.068e-06/0.5249, allocations: 0 / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0009586/0.5259, allocations: 237.4 kB / 1.035 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.5259, allocations: 55.34 kB / 1.035 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.5261, allocations: 135.5 kB / 1.035 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.5261, allocations: 29.7 kB / 1.035 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.5262, allocations: 100.7 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.5263, allocations: 23.72 kB / 1.035 GB, free: 5.977 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.5263, allocations: 4 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.5264, allocations: 322.8 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.5267, allocations: 43.91 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.5269, allocations: 86.77 kB / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.5272, allocations: 43.98 kB / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5272, allocations: 112 / 1.036 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006089/0.5278, allocations: 177.3 kB / 1.036 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5279, allocations: 4 kB / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5279, allocations: 0 / 1.036 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5279, allocations: 4 kB / 1.036 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.5282, allocations: 31.97 kB / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.5282, allocations: 0 / 1.036 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.5284, allocations: 11.98 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.5284, allocations: 8 kB / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001501/0.5286, allocations: 123.7 kB / 1.036 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.5286, allocations: 15.8 kB / 1.036 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.5287, allocations: 16.72 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5287, allocations: 0 / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5287, allocations: 3.953 kB / 1.036 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.5287, allocations: 0 / 1.036 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.5298, allocations: 470.5 kB / 1.036 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5298, allocations: 4.062 kB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.5299, allocations: 19.92 kB / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.5299, allocations: 0 / 1.036 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.53, allocations: 3.953 kB / 1.036 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.53, allocations: 4 kB / 1.036 GB, free: 4.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.53, allocations: 3.984 kB / 1.036 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.5307, allocations: 275.3 kB / 1.037 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.5308, allocations: 81.02 kB / 1.037 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.5308, allocations: 4 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.531, allocations: 17.75 kB / 1.037 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.5311, allocations: 7.984 kB / 1.037 GB, free: 4.098 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.5312, allocations: 11.94 kB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.971e-05/0.5313, allocations: 112.7 kB / 1.037 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5313, allocations: 0 / 1.037 GB, free: 3.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004775/0.5318, allocations: 55.94 kB / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004838/0.5323, allocations: 174.3 kB / 1.037 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.5328, allocations: 115.8 kB / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5328, allocations: 0 / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.5331, allocations: 64.16 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.5334, allocations: 15.86 kB / 1.037 GB, free: 3.566 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007031/0.5341, allocations: 262.8 kB / 1.038 GB, free: 3.273 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.5345, allocations: 0.6965 MB / 1.038 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.52e-05/0.5346, allocations: 11.92 kB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.5346, allocations: 11.44 kB / 1.038 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of SimCode: time 1.213e-06/0.5347, allocations: 8 kB / 1.038 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of Templates: time 0.00704/0.5417, allocations: 1.96 MB / 1.04 GB, free: 0.5742 MB / 0.6823 GB