Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 109.7 kB / 16.38 MB, free: 6.008 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.001757/0.001757, allocations: 190.8 kB / 17.31 MB, free: 5.621 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.302/1.302, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.739/1.739, allocations: 292.3 MB / 0.5496 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.001562/0.001562, allocations: 63.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1918, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002698/0.1946, allocations: 1.51 MB / 0.7863 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1959, allocations: 0.7682 MB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.1959, allocations: 0 / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.196, allocations: 3.938 kB / 0.787 GB, free: 0.8984 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.758e-05/0.1961, allocations: 15.86 kB / 0.787 GB, free: 0.8828 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.0006083/0.1967, allocations: 123.6 kB / 0.7872 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.1968, allocations: 75.77 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.1969, allocations: 8 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.197, allocations: 47.83 kB / 0.7873 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.817e-05/0.1971, allocations: 35.84 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1971, allocations: 8 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.1973, allocations: 91.91 kB / 0.7874 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.1974, allocations: 19.97 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.1974, allocations: 31.8 kB / 0.7875 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.1977, allocations: 143.5 kB / 0.7876 GB, free: 316 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1977, allocations: 3.984 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1977, allocations: 4 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.1977, allocations: 0 / 0.7876 GB, free: 308 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.3383/0.536, allocations: 414.1 kB / 0.788 GB, free: 49.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.536, allocations: 9.75 kB / 0.788 GB, free: 49.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.5361, allocations: 9.094 kB / 0.788 GB, free: 49.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.5362, allocations: 173 kB / 0.7882 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.5362, allocations: 5.938 kB / 0.7882 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.5362, allocations: 5.906 kB / 0.7882 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.5364, allocations: 73.28 kB / 0.7883 GB, free: 49.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.5365, allocations: 0.8438 kB / 0.7883 GB, free: 49.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.5365, allocations: 3.938 kB / 0.7883 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5365, allocations: 3.531 kB / 0.7883 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.5366, allocations: 41.72 kB / 0.7883 GB, free: 49.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.5371, allocations: 313.3 kB / 0.7886 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.5373, allocations: 54.39 kB / 0.7887 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.5373, allocations: 32.72 kB / 0.7887 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.5374, allocations: 1 kB / 0.7887 GB, free: 48.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/0.5375, allocations: 79.86 kB / 0.7888 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.5375, allocations: 0.7812 kB / 0.7888 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003444/0.5379, allocations: 136.7 kB / 0.7889 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.5379, allocations: 57.5 kB / 0.789 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.405e-05/0.538, allocations: 127.4 kB / 0.7891 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.538, allocations: 32.73 kB / 0.7891 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.538, allocations: 84.08 kB / 0.7892 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.538, allocations: 24.69 kB / 0.7892 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.5381, allocations: 27.53 kB / 0.7892 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.5381, allocations: 320.5 kB / 0.7895 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.5382, allocations: 26.31 kB / 0.7896 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.5383, allocations: 54.58 kB / 0.7896 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.5384, allocations: 83.84 kB / 0.7897 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5385, allocations: 0 / 0.7897 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002152/0.5387, allocations: 120.5 kB / 0.7898 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.5387, allocations: 7.188 kB / 0.7898 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5387, allocations: 0 / 0.7898 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5387, allocations: 2.719 kB / 0.7898 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.5388, allocations: 11.53 kB / 0.7898 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5388, allocations: 6.516 kB / 0.7898 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.5389, allocations: 5.531 kB / 0.7898 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.5389, allocations: 3.875 kB / 0.7899 GB, free: 48.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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 5.757e-05/0.539, allocations: 129.8 kB / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.508e-05/0.539, allocations: 6.344 kB / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.539, allocations: 13.44 kB / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.539, allocations: 0 / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5391, allocations: 0 / 0.79 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.652e-05/0.5391, allocations: 84.42 kB / 0.7901 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.5391, allocations: 6.656 kB / 0.7901 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.783e-05/0.5392, allocations: 5.172 kB / 0.7901 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.5392, allocations: 10.19 kB / 0.7901 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002432/0.5394, allocations: 189 kB / 0.7903 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002225/0.5397, allocations: 279.9 kB / 0.7905 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.974e-05/0.5398, allocations: 36.23 kB / 0.7906 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.5398, allocations: 92.98 kB / 0.7907 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of Backend: time 4.21e-07/0.5398, allocations: 2.531 kB / 0.7907 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006029/0.5404, allocations: 193.7 kB / 0.7909 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0003145/0.5407, allocations: 0.6053 MB / 0.7914 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.003484/0.5442, allocations: 1.496 MB / 0.7929 GB, free: 46.84 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)