Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001554/0.001554, allocations: 184 kB / 17.22 MB, free: 5.934 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.429/1.429, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.923/1.923, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001491/0.001491, allocations: 67.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 114.6 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003341/0.2481, allocations: 1.625 MB / 0.7857 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2496, allocations: 0.8383 MB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.2497, allocations: 0 / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.077e-05/0.2497, allocations: 7.875 kB / 0.7865 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.216e-05/0.2498, allocations: 27.78 kB / 0.7865 GB, free: 1.336 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.0006097/0.2504, allocations: 155.5 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.2506, allocations: 151.5 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2507, allocations: 25.09 kB / 0.7868 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.2508, allocations: 67.83 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.251, allocations: 75.72 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.251, allocations: 12 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.2512, allocations: 103.8 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.064e-05/0.2513, allocations: 39.84 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.233e-05/0.2513, allocations: 63.69 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.2516, allocations: 203.7 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2516, allocations: 0 / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2516, allocations: 0 / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2516, allocations: 0 / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.4033/0.655, allocations: 0.5399 MB / 0.7879 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.6551, allocations: 8.531 kB / 0.7879 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.017e-05/0.6551, allocations: 16.41 kB / 0.7879 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.6553, allocations: 180.4 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.6554, allocations: 6.828 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.6554, allocations: 9.438 kB / 0.7881 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.6559, allocations: 140.7 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.6559, allocations: 3.031 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.6559, allocations: 7.375 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.6559, allocations: 0 / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.6563, allocations: 103.9 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.6571, allocations: 385.7 kB / 0.7887 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003065/0.6574, allocations: 106.4 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.6577, allocations: 84.56 kB / 0.7889 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.6577, allocations: 2.5 kB / 0.7889 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.6581, allocations: 142.3 kB / 0.789 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.6581, allocations: 0 / 0.789 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0009397/0.6591, allocations: 309.6 kB / 0.7893 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.6591, allocations: 56.45 kB / 0.7894 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.6592, allocations: 146.2 kB / 0.7895 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.6593, allocations: 30.05 kB / 0.7896 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.6593, allocations: 98.09 kB / 0.7897 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.6593, allocations: 28.48 kB / 0.7897 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.6594, allocations: 32.25 kB / 0.7897 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.6594, allocations: 325.7 kB / 0.79 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.6596, allocations: 40.16 kB / 0.7901 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.6597, allocations: 80.56 kB / 0.7901 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.6599, allocations: 120.8 kB / 0.7903 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.6599, allocations: 0 / 0.7903 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003036/0.6602, allocations: 165.4 kB / 0.7904 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.6603, allocations: 6 kB / 0.7904 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6603, allocations: 3.422 kB / 0.7904 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6603, allocations: 3.25 kB / 0.7904 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.6605, allocations: 30.12 kB / 0.7905 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.6605, allocations: 1.172 kB / 0.7905 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.519e-05/0.6606, allocations: 15.75 kB / 0.7905 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.6606, allocations: 5.25 kB / 0.7905 GB, free: 47.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.158e-05/0.6607, allocations: 127.6 kB / 0.7906 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.6607, allocations: 13.58 kB / 0.7906 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.6607, allocations: 12.19 kB / 0.7906 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.6608, allocations: 1.312 kB / 0.7906 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.6608, allocations: 3 kB / 0.7906 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.6608, allocations: 0 / 0.7906 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008349/0.6616, allocations: 0.5343 MB / 0.7911 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6616, allocations: 1.125 kB / 0.7911 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.6617, allocations: 13.36 kB / 0.7912 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.6617, allocations: 2.812 kB / 0.7912 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.6617, allocations: 3.938 kB / 0.7912 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6618, allocations: 3.141 kB / 0.7912 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.6618, allocations: 3.938 kB / 0.7912 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.6624, allocations: 328.2 kB / 0.7915 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.6624, allocations: 83.64 kB / 0.7916 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.6625, allocations: 4.562 kB / 0.7916 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.6627, allocations: 25.88 kB / 0.7916 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.6627, allocations: 9.844 kB / 0.7916 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.6627, allocations: 7.172 kB / 0.7916 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.752e-05/0.6628, allocations: 118.7 kB / 0.7917 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6628, allocations: 0 / 0.7917 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003229/0.6631, allocations: 50.92 kB / 0.7918 GB, free: 46.72 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,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): 6 * 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.0003534/0.6635, allocations: 152.8 kB / 0.7919 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.664, allocations: 146.1 kB / 0.7921 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.664, allocations: 0 / 0.7921 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.6643, allocations: 95.97 kB / 0.7922 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.6645, allocations: 9.344 kB / 0.7922 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005892/0.6651, allocations: 261.1 kB / 0.7924 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.6653, allocations: 0.7029 MB / 0.7931 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.6653, allocations: 9.234 kB / 0.7931 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.6654, allocations: 12.69 kB / 0.7931 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6654, allocations: 0 / 0.7931 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.004626/0.67, allocations: 2.015 MB / 0.7951 GB, free: 45.69 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)