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.001074/0.001074, allocations: 108 kB / 15.61 MB, free: 152 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.001219/0.001219, allocations: 197.2 kB / 16.53 MB, free: 6.699 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.497/1.497, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.781/1.781, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001459/0.001459, allocations: 73.88 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2097, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002544/0.2123, allocations: 1.504 MB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.2136, allocations: 0.7964 MB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.174e-05/0.2136, allocations: 0 / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.2137, allocations: 11.86 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.2137, allocations: 15.86 kB / 0.7856 GB, free: 11.13 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.000556/0.2143, allocations: 131.6 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.2144, allocations: 111.7 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.581e-05/0.2145, allocations: 15.98 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.347e-05/0.2146, allocations: 43.91 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.659e-05/0.2147, allocations: 51.81 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.2147, allocations: 8 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.2149, allocations: 95.84 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.215, allocations: 31.89 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.367e-05/0.215, allocations: 43.84 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.2152, allocations: 163.8 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2152, allocations: 0 / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2152, allocations: 0 / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2153, allocations: 4 kB / 0.7863 GB, free: 10.45 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.0006454/0.2159, allocations: 462.5 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2159, allocations: 8.031 kB / 0.7868 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.216, allocations: 8.844 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.2161, allocations: 168.3 kB / 0.7869 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/0.2161, allocations: 16.3 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.2162, allocations: 8.375 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.2164, allocations: 89.88 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2164, allocations: 0 / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.2165, allocations: 8 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.2165, allocations: 0 / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.2166, allocations: 39.97 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.2174, allocations: 352.6 kB / 0.7874 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001723/0.2176, allocations: 58.55 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.2177, allocations: 56.83 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.2178, allocations: 160 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.218, allocations: 103.4 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.218, allocations: 0 / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005306/0.2185, allocations: 185.5 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.2186, allocations: 59.39 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.704e-05/0.2187, allocations: 124.1 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.2187, allocations: 29.7 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.2188, allocations: 96.12 kB / 0.7881 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2188, allocations: 15.8 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.918e-05/0.2189, allocations: 29.7 kB / 0.7881 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.219, allocations: 326.8 kB / 0.7885 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.402e-05/0.2191, allocations: 35.98 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2192, allocations: 68.2 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.2194, allocations: 96.2 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2194, allocations: 0 / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002422/0.2196, allocations: 125.5 kB / 0.7888 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.2196, allocations: 4.938 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2196, allocations: 4 kB / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2197, allocations: 0 / 0.7888 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2198, allocations: 23.86 kB / 0.7888 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2198, allocations: 4.406 kB / 0.7888 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.2199, allocations: 11.92 kB / 0.7888 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.2199, allocations: 4 kB / 0.7888 GB, free: 7.613 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 9.597e-05/0.22, allocations: 130.4 kB / 0.7889 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.22, allocations: 7.906 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.2201, allocations: 12.36 kB / 0.789 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2201, allocations: 4 kB / 0.789 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2201, allocations: 4.047 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.2201, allocations: 3.984 kB / 0.789 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.2207, allocations: 426.3 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2207, allocations: 0 / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.2207, allocations: 11.92 kB / 0.7894 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2207, allocations: 3.938 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.2207, allocations: 0 / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.2208, allocations: 8.062 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2208, allocations: 7.938 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.2212, allocations: 247.4 kB / 0.7896 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.2212, allocations: 84.95 kB / 0.7897 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.2212, allocations: 4 kB / 0.7897 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.2214, allocations: 11.98 kB / 0.7897 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.2214, allocations: 11.94 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2214, allocations: 3.984 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.2215, allocations: 95.27 kB / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2215, allocations: 0 / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000295/0.2218, allocations: 40 kB / 0.7899 GB, free: 6.418 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.0003754/0.2222, allocations: 165.3 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003201/0.2225, allocations: 87.89 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2225, allocations: 3.938 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.2227, allocations: 47.97 kB / 0.7902 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.2229, allocations: 18.89 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004789/0.2234, allocations: 208.2 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.2237, allocations: 0.6914 MB / 0.7911 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.2238, allocations: 8 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.2238, allocations: 15.42 kB / 0.7911 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2238, allocations: 0 / 0.7911 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of Templates: time 0.004648/0.2285, allocations: 1.741 MB / 0.7928 GB, free: 3.414 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)