Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 112.7 kB / 16.37 MB, free: 6.312 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.001738/0.001738, allocations: 188.3 kB / 17.3 MB, free: 5.871 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.326/1.326, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.788/1.788, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001451/0.001451, allocations: 68.28 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1905, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003151/0.1937, allocations: 1.491 MB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1952, allocations: 0.7799 MB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.1953, allocations: 7.938 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.1954, allocations: 3.938 kB / 0.787 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.838e-05/0.1954, allocations: 11.88 kB / 0.787 GB, free: 0.8398 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.0006576/0.1961, allocations: 119.6 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1962, allocations: 79.77 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.1963, allocations: 4 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.1965, allocations: 47.83 kB / 0.7873 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.054e-05/0.1965, allocations: 31.91 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1966, allocations: 8 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.1968, allocations: 95.84 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.1968, allocations: 19.91 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.1969, allocations: 31.86 kB / 0.7875 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1971, allocations: 143.5 kB / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1971, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1972, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1972, allocations: 0 / 0.7876 GB, free: 276 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.3362/0.5334, allocations: 417.4 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.5335, allocations: 7.406 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.5335, allocations: 12.41 kB / 0.788 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.5336, allocations: 174.9 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.5337, allocations: 5.797 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.5337, allocations: 5.75 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.5339, allocations: 66.61 kB / 0.7882 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5339, allocations: 0 / 0.7882 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.5339, allocations: 7.312 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.5339, allocations: 0 / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.5341, allocations: 44.2 kB / 0.7883 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005543/0.5346, allocations: 314.2 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.5348, allocations: 55.64 kB / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.367e-05/0.5348, allocations: 28.66 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.5349, allocations: 3.469 kB / 0.7887 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.5351, allocations: 74.14 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5351, allocations: 1.438 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003481/0.5354, allocations: 140.7 kB / 0.7889 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.5355, allocations: 53 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.5355, allocations: 137.5 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.5355, allocations: 25.7 kB / 0.7891 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.5356, allocations: 90.73 kB / 0.7892 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.5356, allocations: 18.02 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.026e-05/0.5357, allocations: 27.33 kB / 0.7892 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.5357, allocations: 313.9 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.5358, allocations: 29.12 kB / 0.7895 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.5359, allocations: 52.77 kB / 0.7896 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.536, allocations: 77.34 kB / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.536, allocations: 0 / 0.7897 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002042/0.5362, allocations: 114.7 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5363, allocations: 5.25 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5363, allocations: 2.625 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.5363, allocations: 0 / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.5364, allocations: 16.34 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5364, allocations: 4.969 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.16e-05/0.5365, allocations: 5.297 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5365, allocations: 2.625 kB / 0.7898 GB, free: 47.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.307e-05/0.5366, allocations: 128 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.5366, allocations: 9.688 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.5366, allocations: 8.5 kB / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5366, allocations: 0 / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5366, allocations: 0 / 0.79 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.5366, allocations: 91.11 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.5367, allocations: 2.625 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.79e-05/0.5367, allocations: 3.344 kB / 0.79 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.5368, allocations: 11.72 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002359/0.537, allocations: 189.1 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002282/0.5373, allocations: 283.3 kB / 0.7905 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.366e-05/0.5374, allocations: 36.23 kB / 0.7905 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.5374, allocations: 92.41 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of Backend: time 3.6e-07/0.5374, allocations: 0 / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006797/0.5381, allocations: 189.8 kB / 0.7908 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003489/0.5384, allocations: 0.6144 MB / 0.7914 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.003658/0.5421, allocations: 1.49 MB / 0.7929 GB, free: 46.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)