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.001265/0.001265, allocations: 97.91 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.001333/0.001334, allocations: 184.6 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.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.001382/0.001382, allocations: 67.89 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2302, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002843/0.2331, allocations: 1.508 MB / 0.7855 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.2344, allocations: 0.7877 MB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.657e-05/0.2345, allocations: 4 kB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.2345, allocations: 11.86 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.2346, allocations: 15.86 kB / 0.7863 GB, free: 1.477 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.0005542/0.2352, allocations: 139.5 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.2353, allocations: 99.75 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.088e-05/0.2354, allocations: 15.98 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.2355, allocations: 47.84 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.2356, allocations: 59.8 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.2356, allocations: 8 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.2358, allocations: 95.84 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.28e-05/0.2359, allocations: 23.97 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.2359, allocations: 47.78 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.2362, allocations: 159.8 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2362, allocations: 0 / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2362, allocations: 0 / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2362, allocations: 0 / 0.787 GB, free: 0.793 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.0006385/0.2368, allocations: 466.5 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2369, allocations: 8.031 kB / 0.7875 GB, free: 276 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.2369, allocations: 16.92 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2371, allocations: 176.2 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.2371, allocations: 384 / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.2371, allocations: 8.375 kB / 0.7877 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4319/0.669, allocations: 86.84 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.669, allocations: 1.172 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.6691, allocations: 2.562 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.6691, allocations: 0.9844 kB / 0.7877 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.6693, allocations: 56.25 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007802/0.6701, allocations: 344.2 kB / 0.7881 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.6703, allocations: 63.05 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.6704, allocations: 42.62 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.6704, allocations: 2.781 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.6707, allocations: 98.92 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.6707, allocations: 0.6562 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005294/0.6713, allocations: 193 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.6713, allocations: 53.34 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.643e-05/0.6714, allocations: 132.3 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.6714, allocations: 32.45 kB / 0.7887 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.759e-05/0.6715, allocations: 86.58 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.6715, allocations: 17.53 kB / 0.7888 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.6715, allocations: 33.84 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.6716, allocations: 322.2 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.105e-05/0.6717, allocations: 35.78 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/0.6718, allocations: 66.25 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.6719, allocations: 96.23 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6719, allocations: 0.5625 kB / 0.7893 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002239/0.6722, allocations: 128.7 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.6722, allocations: 8.719 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6722, allocations: 2.625 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6722, allocations: 6.344 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.6723, allocations: 15.66 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.6724, allocations: 2.875 kB / 0.7895 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.6724, allocations: 21.58 kB / 0.7895 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.6725, allocations: 8.672 kB / 0.7895 GB, free: 47.74 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 6.803e-05/0.6725, allocations: 120.8 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.6726, allocations: 8.469 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.6726, allocations: 7 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6726, allocations: 0 / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6726, allocations: 4.594 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6726, allocations: 9.234 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.6731, allocations: 426.3 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6731, allocations: 0 / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.6731, allocations: 6.188 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.6732, allocations: 0.9688 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.6732, allocations: 10.19 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.6732, allocations: 4.594 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.6732, allocations: 0 / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003323/0.6735, allocations: 245.2 kB / 0.7903 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.6736, allocations: 84.52 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.6736, allocations: 9.109 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.6737, allocations: 12 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.6737, allocations: 3.5 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.6738, allocations: 5.828 kB / 0.7904 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.349e-05/0.6738, allocations: 92.86 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6738, allocations: 3.844 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003266/0.6741, allocations: 40.98 kB / 0.7906 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.000319/0.6745, allocations: 176.6 kB / 0.7907 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002862/0.6748, allocations: 93.66 kB / 0.7908 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6748, allocations: 0 / 0.7908 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.6749, allocations: 49.56 kB / 0.7909 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.6752, allocations: 14.94 kB / 0.7909 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.6756, allocations: 195.7 kB / 0.7911 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.6758, allocations: 0.6902 MB / 0.7918 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.543e-05/0.6758, allocations: 12.78 kB / 0.7918 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.6758, allocations: 11.56 kB / 0.7918 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6758, allocations: 0 / 0.7918 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.004125/0.68, allocations: 1.742 MB / 0.7935 GB, free: 46.03 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)