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.001214/0.001221, allocations: 105.1 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.001235/0.001235, allocations: 185.1 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.52/1.52, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.842/1.842, allocations: 292.3 MB / 0.5495 GB, free: 17.56 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.001431/0.001431, allocations: 76.41 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2596, allocations: 114.6 MB / 0.7841 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003125/0.2628, allocations: 1.503 MB / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2642, allocations: 0.7955 MB / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.2642, allocations: 0 / 0.7863 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.2643, allocations: 3.938 kB / 0.7863 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.2643, allocations: 15.86 kB / 0.7863 GB, free: 1.484 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.0006136/0.265, allocations: 143.5 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.2651, allocations: 103.7 kB / 0.7866 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2652, allocations: 11.98 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.2653, allocations: 47.83 kB / 0.7866 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.95e-05/0.2654, allocations: 55.81 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.325e-05/0.2655, allocations: 8 kB / 0.7867 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.2657, allocations: 99.91 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.2657, allocations: 27.91 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.2658, allocations: 35.84 kB / 0.7869 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.2661, allocations: 171.7 kB / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2661, allocations: 0 / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2661, allocations: 0 / 0.787 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.2661, 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.0007661/0.2669, allocations: 462.5 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.2669, allocations: 16.03 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.66e-05/0.267, allocations: 4.938 kB / 0.7875 GB, free: 268 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.2671, allocations: 168.3 kB / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.2672, allocations: 384 / 0.7876 GB, free: 60 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.2672, allocations: 8.375 kB / 0.7876 GB, free: 52 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4897/0.7569, allocations: 89.75 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.757, allocations: 0 / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.757, allocations: 1.172 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.757, allocations: 1.688 kB / 0.7877 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/0.7573, allocations: 46.83 kB / 0.7878 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.7582, allocations: 349 kB / 0.7881 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.7584, allocations: 58.53 kB / 0.7882 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.7585, allocations: 48.5 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.7586, allocations: 0 / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.7589, allocations: 93.98 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.964e-06/0.7589, allocations: 0.6562 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005326/0.7594, allocations: 180.7 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.7595, allocations: 58.34 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.7596, allocations: 134 kB / 0.7887 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.7596, allocations: 25.7 kB / 0.7887 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.7597, allocations: 93.92 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.7597, allocations: 17.66 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-05/0.7598, allocations: 32.89 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.7599, allocations: 323.9 kB / 0.7891 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.76, allocations: 31.88 kB / 0.7892 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.7601, allocations: 66.44 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.7602, allocations: 94.19 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7602, allocations: 0 / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002383/0.7605, allocations: 134.6 kB / 0.7894 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.7605, allocations: 5.25 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.7605, allocations: 1.844 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.7606, allocations: 5.312 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.7607, allocations: 19.52 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.7607, allocations: 2.469 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.7608, allocations: 19.2 kB / 0.7895 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.7608, allocations: 7.344 kB / 0.7895 GB, free: 47.69 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 9.578e-05/0.7609, allocations: 121.4 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.761, allocations: 11.59 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.237e-05/0.761, allocations: 14.14 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.761, allocations: 1.172 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.761, allocations: 0 / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.761, allocations: 6.375 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.7616, allocations: 421.5 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.7616, allocations: 1.375 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.7616, allocations: 10.5 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7616, allocations: 0 / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.7616, allocations: 3.938 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.7616, allocations: 5.281 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7617, allocations: 3.953 kB / 0.7901 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.762, allocations: 243.4 kB / 0.7903 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.762, allocations: 87.53 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.7621, allocations: 10.62 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.7622, allocations: 4.484 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.7622, allocations: 10.3 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.7622, allocations: 7.469 kB / 0.7904 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.108e-05/0.7623, allocations: 95.75 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7623, allocations: 2.75 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003205/0.7626, allocations: 38.98 kB / 0.7906 GB, free: 46.96 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.0003608/0.763, allocations: 164 kB / 0.7907 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002815/0.7633, allocations: 89.89 kB / 0.7908 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7633, allocations: 2.062 kB / 0.7908 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.7634, allocations: 46.97 kB / 0.7908 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.7637, allocations: 11.25 kB / 0.7909 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.7642, allocations: 204.8 kB / 0.7911 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.7643, allocations: 0.693 MB / 0.7917 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.7644, allocations: 10.62 kB / 0.7917 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.7644, allocations: 11.98 kB / 0.7917 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7644, allocations: 3.281 kB / 0.7918 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.004602/0.769, allocations: 1.725 MB / 0.7934 GB, free: 45.97 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)