Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 103.7 kB / 16.27 MB, free: 6.406 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.001278/0.001279, allocations: 191 kB / 17.2 MB, free: 5.938 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.423/1.423, allocations: 205.1 MB / 223.1 MB, free: 12.35 MB / 190.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.821/1.821, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001463/0.001463, allocations: 71.19 kB / 0.6722 GB, free: 6.633 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2279, allocations: 114.6 MB / 0.784 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003021/0.231, allocations: 1.59 MB / 0.7856 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2326, allocations: 0.815 MB / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.2326, allocations: 0 / 0.7864 GB, free: 1.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.2327, allocations: 7.922 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.236e-05/0.2327, allocations: 19.73 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0005808/0.2333, allocations: 151.6 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.2335, allocations: 139.6 kB / 0.7867 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.2336, allocations: 19.98 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2337, allocations: 55.83 kB / 0.7868 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.456e-05/0.2338, allocations: 71.73 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.2338, allocations: 8 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.234, allocations: 103.8 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.2341, allocations: 39.88 kB / 0.787 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.916e-05/0.2341, allocations: 51.78 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.2344, allocations: 195.7 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2344, allocations: 0 / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2344, allocations: 0 / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.2344, allocations: 0 / 0.7872 GB, free: 0.6836 MB / 0.6544 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.0007339/0.2352, allocations: 478.4 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2352, allocations: 12.03 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.2353, allocations: 8.844 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3151/0.5504, allocations: 189.9 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/0.5505, allocations: 7.531 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.5506, allocations: 8.188 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.5509, allocations: 99.86 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.5509, allocations: 0 / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.551, allocations: 3.938 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.551, allocations: 2.906 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001989/0.5512, allocations: 64.27 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008671/0.5521, allocations: 370.7 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.5522, allocations: 70.83 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.5524, allocations: 54.66 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.5524, allocations: 2.75 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.5527, allocations: 105.7 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.5527, allocations: 0 / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005175/0.5532, allocations: 211.6 kB / 0.7888 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.5533, allocations: 55.66 kB / 0.7889 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.5533, allocations: 139.1 kB / 0.789 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.5534, allocations: 34.38 kB / 0.789 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.5534, allocations: 102.6 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.5535, allocations: 22.02 kB / 0.7892 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.5535, allocations: 35.56 kB / 0.7892 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.5536, allocations: 326.7 kB / 0.7895 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.5537, allocations: 41.33 kB / 0.7895 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.5538, allocations: 80.72 kB / 0.7896 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.554, allocations: 111.1 kB / 0.7897 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.554, allocations: 1.969 kB / 0.7897 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002844/0.5543, allocations: 157.5 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.5543, allocations: 11.56 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5543, allocations: 0 / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5544, allocations: 2.906 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.5545, allocations: 18.39 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5545, allocations: 0 / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.5546, allocations: 19.03 kB / 0.7899 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5547, allocations: 8.062 kB / 0.7899 GB, free: 47.66 MB / 0.6544 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.5547, allocations: 128 kB / 0.79 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.072e-05/0.5548, allocations: 6.812 kB / 0.7901 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.5548, allocations: 11.62 kB / 0.7901 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5548, allocations: 1.312 kB / 0.7901 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5548, allocations: 3.562 kB / 0.7901 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5548, allocations: 2.297 kB / 0.7901 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005114/0.5553, allocations: 471.8 kB / 0.7905 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5553, allocations: 3.531 kB / 0.7905 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.5554, allocations: 9.672 kB / 0.7905 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.5554, allocations: 0 / 0.7905 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.5554, allocations: 5.328 kB / 0.7905 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.5555, allocations: 1.781 kB / 0.7905 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.5555, allocations: 3.938 kB / 0.7905 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003612/0.5558, allocations: 268.9 kB / 0.7908 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.5559, allocations: 83.64 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.5559, allocations: 4.031 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.556, allocations: 7.781 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.5561, allocations: 13.56 kB / 0.7909 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.5561, allocations: 6.203 kB / 0.7909 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.678e-05/0.5562, allocations: 104.6 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5562, allocations: 0.75 kB / 0.791 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000357/0.5565, allocations: 51.86 kB / 0.7911 GB, free: 46.93 MB / 0.6544 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,win.occ,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 (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.0003483/0.5569, allocations: 171.3 kB / 0.7912 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003182/0.5572, allocations: 114 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5572, allocations: 3.375 kB / 0.7913 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.5574, allocations: 59.02 kB / 0.7914 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.5576, allocations: 12.64 kB / 0.7914 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.5581, allocations: 246.2 kB / 0.7916 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.5582, allocations: 0.6987 MB / 0.7923 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.942e-05/0.5583, allocations: 16.11 kB / 0.7923 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.5583, allocations: 0 / 0.7923 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of Templates: time 0.003714/0.562, allocations: 2.056 MB / 0.7943 GB, free: 45.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)