Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 105.4 kB / 15.69 MB, free: 136 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 192.3 kB / 16.63 MB, free: 6.324 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.332 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.937/1.937, allocations: 292.3 MB / 0.5489 GB, free: 12.74 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.00156/0.00156, allocations: 68.67 kB / 0.6723 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2561, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002677/0.2588, allocations: 1.508 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.2604, allocations: 0.8004 MB / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.756e-05/0.2604, allocations: 0 / 0.7864 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.2605, allocations: 7.875 kB / 0.7864 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.577e-05/0.2606, allocations: 11.86 kB / 0.7864 GB, free: 10.38 MB / 0.6075 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.0006302/0.2612, allocations: 135.6 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.2613, allocations: 107.7 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2615, allocations: 11.98 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.2616, allocations: 47.84 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.2617, allocations: 51.81 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.2617, allocations: 8 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.2619, allocations: 103.8 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.2619, allocations: 27.95 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.262, allocations: 39.78 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.2623, allocations: 167.5 kB / 0.7871 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2623, allocations: 4 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2623, allocations: 0 / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.2623, allocations: 0 / 0.7871 GB, free: 9.691 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007856/0.2631, allocations: 470.4 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2632, allocations: 12.03 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.561e-05/0.2632, allocations: 8.844 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2634, allocations: 172.2 kB / 0.7877 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.2634, allocations: 4.375 kB / 0.7877 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.2634, allocations: 16.36 kB / 0.7877 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.2637, allocations: 85.94 kB / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2637, allocations: 0 / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2637, allocations: 0 / 0.7878 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2637, allocations: 4 kB / 0.7878 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.2639, allocations: 47.91 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.2646, allocations: 344.7 kB / 0.7882 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.2649, allocations: 66.53 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.265, allocations: 52.81 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.2651, allocations: 96 / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.2654, allocations: 99.44 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.2654, allocations: 0 / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.266, allocations: 185.5 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.2661, allocations: 55.41 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.2662, allocations: 136.9 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.2662, allocations: 29.7 kB / 0.7888 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.2663, allocations: 92.12 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.2663, allocations: 19.8 kB / 0.7889 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.2664, allocations: 33.64 kB / 0.7889 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2665, allocations: 326.8 kB / 0.7892 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.2666, allocations: 27.98 kB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.2667, allocations: 68.27 kB / 0.7893 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.2669, allocations: 92.2 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.2669, allocations: 0 / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002603/0.2672, allocations: 133.4 kB / 0.7895 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2672, allocations: 4 kB / 0.7895 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2673, allocations: 3.938 kB / 0.7895 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2673, allocations: 7.938 kB / 0.7895 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.2674, allocations: 19.98 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2674, allocations: 0 / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.589e-05/0.2675, allocations: 11.92 kB / 0.7896 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2675, allocations: 8.094 kB / 0.7896 GB, free: 6.844 MB / 0.6075 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,occ.y,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 (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 0.0001232/0.2677, allocations: 130.4 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.027e-05/0.2677, allocations: 7.906 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.161e-05/0.2677, allocations: 4.375 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2677, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2677, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.2678, allocations: 3.984 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.2684, allocations: 434.3 kB / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2684, allocations: 0 / 0.7901 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/0.2685, allocations: 11.98 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2685, allocations: 0 / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.2685, allocations: 0 / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2685, allocations: 0 / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2685, allocations: 3.938 kB / 0.7902 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.2689, allocations: 255.4 kB / 0.7904 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.269, allocations: 84.95 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.269, allocations: 0 / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2691, allocations: 12.05 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.2692, allocations: 11.94 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.2692, allocations: 7.984 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.2693, allocations: 99.2 kB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2693, allocations: 4 kB / 0.7906 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003286/0.2696, allocations: 36 kB / 0.7906 GB, free: 5.66 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: 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 (8): * Single equations (assignments): 4 * 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.0003513/0.27, allocations: 171.9 kB / 0.7908 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.2703, allocations: 96.41 kB / 0.7909 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2703, allocations: 0 / 0.7909 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2704, allocations: 43.97 kB / 0.7909 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.2707, allocations: 15.11 kB / 0.791 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.2712, allocations: 216 kB / 0.7912 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.2715, allocations: 0.6925 MB / 0.7918 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.524e-05/0.2715, allocations: 7.781 kB / 0.7918 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.2716, allocations: 11.44 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.2716, allocations: 0 / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of Templates: time 0.004222/0.2758, allocations: 1.73 MB / 0.7935 GB, free: 2.652 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)