Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.00119, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001168/0.001168, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.372/1.372, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.859/1.859, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001618/0.001618, allocations: 67.91 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2651, allocations: 114.5 MB / 0.784 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.00353/0.2687, allocations: 1.511 MB / 0.7855 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.2704, allocations: 0.8033 MB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.2705, allocations: 0 / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.2706, allocations: 7.875 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.2706, allocations: 7.875 kB / 0.7863 GB, free: 1.586 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.0007861/0.2714, allocations: 143.6 kB / 0.7864 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.2716, allocations: 103.7 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2717, allocations: 12 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.2719, allocations: 47.89 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.272, allocations: 55.75 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.272, allocations: 11.98 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.2723, allocations: 99.86 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.638e-05/0.2723, allocations: 23.91 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.2724, allocations: 39.84 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003125/0.2727, allocations: 159.8 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2727, allocations: 0 / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2727, allocations: 4 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.2727, allocations: 3.984 kB / 0.787 GB, free: 0.8945 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000844/0.2736, allocations: 462.5 kB / 0.7874 GB, free: 392 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/0.2737, allocations: 12.03 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.2737, allocations: 4.938 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2739, allocations: 178.6 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.274, allocations: 384 / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.274, allocations: 12.38 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.2743, allocations: 89.94 kB / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2743, allocations: 0 / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.2743, allocations: 0 / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.2744, allocations: 0 / 0.7877 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.2746, allocations: 47.91 kB / 0.7877 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4762/0.7508, allocations: 343.2 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.751, allocations: 55.94 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.7512, allocations: 46.66 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.7512, allocations: 4.344 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003012/0.7515, allocations: 100.6 kB / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 3.286e-06/0.7515, allocations: 1.031 kB / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005201/0.752, allocations: 175.1 kB / 0.7884 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.7521, allocations: 60.08 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.987e-05/0.7522, allocations: 127.6 kB / 0.7886 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.7522, allocations: 32.55 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.7523, allocations: 90.61 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.7523, allocations: 18.86 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.7523, allocations: 33.06 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.7524, allocations: 319.5 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.7525, allocations: 27.67 kB / 0.7891 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.479e-05/0.7526, allocations: 68.16 kB / 0.7892 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.7527, allocations: 96.92 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.7528, allocations: 1.438 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002407/0.753, allocations: 134.4 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.753, allocations: 11.69 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.753, allocations: 2.625 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.7531, allocations: 0 / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.7532, allocations: 17.55 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.7532, allocations: 3.844 kB / 0.7894 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.624e-05/0.7533, allocations: 18.8 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.7533, allocations: 2.625 kB / 0.7894 GB, free: 47.73 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,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 7.962e-05/0.7534, allocations: 125.2 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.7534, allocations: 10.47 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.7535, allocations: 15.84 kB / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.7535, allocations: 0 / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7535, allocations: 0 / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.7535, allocations: 0 / 0.7896 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.754, allocations: 430.7 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.754, allocations: 2.719 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.754, allocations: 5.828 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.754, allocations: 0 / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.7541, allocations: 8.469 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.7541, allocations: 3.188 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7541, allocations: 0 / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.7544, allocations: 248.7 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.975e-05/0.7545, allocations: 85.39 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.7545, allocations: 1.25 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.7546, allocations: 4.5 kB / 0.7903 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.7547, allocations: 11.16 kB / 0.7904 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.7547, allocations: 4.328 kB / 0.7904 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.237e-05/0.7547, allocations: 97.84 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7548, allocations: 0 / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003364/0.7551, allocations: 37.59 kB / 0.7905 GB, free: 47.01 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,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.0003654/0.7555, allocations: 180.2 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.7558, allocations: 90.67 kB / 0.7907 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7558, allocations: 2.781 kB / 0.7908 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.7559, allocations: 45.53 kB / 0.7908 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.7562, allocations: 14.16 kB / 0.7908 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.7567, allocations: 235.3 kB / 0.791 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.7568, allocations: 0.691 MB / 0.7917 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.7569, allocations: 14.47 kB / 0.7917 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.7569, allocations: 0 / 0.7917 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.003662/0.7605, allocations: 1.801 MB / 0.7935 GB, free: 45.96 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)