Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.008687/0.008687, allocations: 99.75 kB / 15.73 MB, free: 6.441 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.001664/0.001664, allocations: 199.7 kB / 16.67 MB, free: 6.352 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.538/1.538, allocations: 205.1 MB / 222.6 MB, free: 4.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.575/1.575, allocations: 251.7 MB / 0.5094 GB, free: 3.055 MB / 414.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.001481/0.001481, allocations: 67.91 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2732, allocations: 104.7 MB / 0.828 GB, free: 240 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002825/0.2761, allocations: 1.517 MB / 0.8295 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2775, allocations: 0.7992 MB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.882e-05/0.2776, allocations: 4 kB / 0.8303 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.6e-05/0.2776, allocations: 7.875 kB / 0.8303 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.837e-05/0.2777, allocations: 19.73 kB / 0.8303 GB, free: 13.86 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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.0006667/0.2784, allocations: 139.6 kB / 0.8305 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.2785, allocations: 99.75 kB / 0.8305 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2787, allocations: 11.98 kB / 0.8306 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2788, allocations: 47.84 kB / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.755e-05/0.2789, allocations: 55.8 kB / 0.8307 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.2789, allocations: 8 kB / 0.8307 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2791, allocations: 103.8 kB / 0.8308 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.2791, allocations: 23.97 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.2792, allocations: 43.78 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2795, allocations: 159.5 kB / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2795, allocations: 0 / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2795, allocations: 0 / 0.831 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.2795, allocations: 0 / 0.831 GB, free: 13.18 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.0007274/0.2802, allocations: 454.4 kB / 0.8314 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.2803, allocations: 8.031 kB / 0.8314 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.297e-05/0.2803, allocations: 16.88 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.2805, allocations: 189.8 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.2805, allocations: 8.375 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.2806, allocations: 4.375 kB / 0.8316 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.2808, allocations: 85.94 kB / 0.8317 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2808, allocations: 0 / 0.8317 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.2808, allocations: 8 kB / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2809, allocations: 0 / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.281, allocations: 47.97 kB / 0.8318 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007906/0.2818, allocations: 336.7 kB / 0.8321 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.282, allocations: 62.55 kB / 0.8321 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.2821, allocations: 52.77 kB / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2822, allocations: 0 / 0.8322 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002744/0.2825, allocations: 99.38 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.2825, allocations: 0 / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.283, allocations: 185.7 kB / 0.8325 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.2831, allocations: 55.41 kB / 0.8325 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.2832, allocations: 125.8 kB / 0.8326 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.2832, allocations: 33.7 kB / 0.8327 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.2833, allocations: 92.12 kB / 0.8328 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.2833, allocations: 15.84 kB / 0.8328 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.2834, allocations: 33.7 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.2835, allocations: 326.8 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.2836, allocations: 31.98 kB / 0.8332 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.2837, allocations: 71.2 kB / 0.8332 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.2839, allocations: 96.2 kB / 0.8333 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2839, allocations: 0 / 0.8333 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000247/0.2841, allocations: 125.6 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2842, allocations: 4 kB / 0.8334 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2842, allocations: 11.92 kB / 0.8334 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.2842, allocations: 0 / 0.8334 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.2843, allocations: 15.98 kB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2843, allocations: 4.156 kB / 0.8335 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/0.2844, allocations: 19.94 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.2844, allocations: 0 / 0.8335 GB, free: 10.36 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.19e-05/0.2845, allocations: 129.7 kB / 0.8336 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.2846, allocations: 7.953 kB / 0.8336 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.2846, allocations: 12.31 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.2846, allocations: 4 kB / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2846, allocations: 0 / 0.8336 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2846, allocations: 7.984 kB / 0.8336 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.2852, allocations: 426.4 kB / 0.834 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2852, allocations: 0 / 0.834 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.2853, allocations: 7.938 kB / 0.8341 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2853, allocations: 0 / 0.8341 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2853, allocations: 3.984 kB / 0.8341 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2853, allocations: 0 / 0.8341 GB, free: 9.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2853, allocations: 3.938 kB / 0.8341 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.2857, allocations: 243.4 kB / 0.8343 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.2857, allocations: 81.06 kB / 0.8344 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.2858, allocations: 4 kB / 0.8344 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.2859, allocations: 11.98 kB / 0.8344 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.2859, allocations: 3.938 kB / 0.8344 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.286, allocations: 11.92 kB / 0.8344 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.286, allocations: 99.27 kB / 0.8345 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.286, allocations: 0 / 0.8345 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003174/0.2863, allocations: 39.94 kB / 0.8345 GB, free: 9.18 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.0003797/0.2867, allocations: 164.9 kB / 0.8347 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002885/0.287, allocations: 95.88 kB / 0.8348 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.287, allocations: 0 / 0.8348 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.2872, allocations: 43.97 kB / 0.8348 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.2875, allocations: 12.56 kB / 0.8348 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.2879, allocations: 204.2 kB / 0.835 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.2882, allocations: 0.6922 MB / 0.8357 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.522e-05/0.2883, allocations: 16 kB / 0.8357 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.2883, allocations: 15.44 kB / 0.8357 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.2883, allocations: 0 / 0.8357 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of Templates: time 0.004913/0.2932, allocations: 1.739 MB / 0.8374 GB, free: 6.172 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)