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.001644/0.001644, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.466/1.466, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.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.782/1.782, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.002169/0.002169, allocations: 67.98 kB / 0.6715 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2472, allocations: 114.5 MB / 0.7834 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002724/0.25, allocations: 1.504 MB / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.2512, allocations: 0.777 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.2513, allocations: 0 / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.2514, allocations: 3.938 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-05/0.2514, allocations: 11.86 kB / 0.7856 GB, free: 11.21 MB / 0.6075 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.0006135/0.252, allocations: 123.6 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.2522, allocations: 71.84 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.2523, allocations: 11.98 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.302e-05/0.2524, allocations: 47.78 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.2525, allocations: 35.89 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.2525, allocations: 4 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.2527, allocations: 99.84 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.2527, allocations: 19.92 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.404e-05/0.2528, allocations: 31.84 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.253, allocations: 139.9 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.253, allocations: 0 / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.804e-06/0.253, allocations: 0 / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.253, allocations: 0 / 0.7862 GB, free: 10.64 MB / 0.6075 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.0006252/0.2537, allocations: 421 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2537, allocations: 8.031 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.2538, allocations: 8.844 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.2539, allocations: 172.2 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.2539, allocations: 8.312 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.254, allocations: 8.375 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.2541, allocations: 73.89 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2542, allocations: 4 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.2542, allocations: 4 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2542, allocations: 0 / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.2543, allocations: 31.98 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.2549, allocations: 316.8 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2551, allocations: 54.5 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.535e-05/0.2552, allocations: 28.97 kB / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.2552, allocations: 4 kB / 0.7873 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.2555, allocations: 87.22 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.2555, allocations: 0 / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003936/0.2559, allocations: 133.9 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2559, allocations: 63.33 kB / 0.7875 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.256, allocations: 121.8 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.2561, allocations: 25.7 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.031e-05/0.2561, allocations: 96.19 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2561, allocations: 19.75 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.2562, allocations: 29.7 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.2563, allocations: 322.8 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.688e-05/0.2564, allocations: 27.97 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.2565, allocations: 47.42 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.2567, allocations: 87.33 kB / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2567, allocations: 0 / 0.7883 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002428/0.2569, allocations: 113.5 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2569, allocations: 11.94 kB / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.257, allocations: 0 / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.257, allocations: 0 / 0.7884 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-05/0.2571, allocations: 23.98 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2571, allocations: 8.062 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.2572, allocations: 8.062 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.2572, allocations: 7.984 kB / 0.7884 GB, free: 8.055 MB / 0.6075 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 9.6e-05/0.2573, allocations: 121 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.2573, allocations: 7.906 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.2573, allocations: 8.375 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.2574, allocations: 0 / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2574, allocations: 4 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2574, allocations: 3.984 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.2578, allocations: 386.4 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2578, allocations: 0 / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.2579, allocations: 7.984 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2579, allocations: 0 / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2579, allocations: 0 / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2579, allocations: 0 / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2579, allocations: 3.938 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.2582, allocations: 215.3 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.2583, allocations: 89.02 kB / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.2583, allocations: 0 / 0.7892 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.2584, allocations: 3.984 kB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.2585, allocations: 7.938 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.2585, allocations: 4 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.2585, allocations: 91.27 kB / 0.7893 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2585, allocations: 3.938 kB / 0.7893 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003077/0.2589, allocations: 43.98 kB / 0.7894 GB, free: 6.977 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003345/0.2592, allocations: 160.1 kB / 0.7895 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.2594, allocations: 79.89 kB / 0.7896 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2595, allocations: 4.125 kB / 0.7896 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.2596, allocations: 35.92 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.2598, allocations: 8 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.2602, allocations: 183.3 kB / 0.7898 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2604, allocations: 0.6924 MB / 0.7905 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.2604, allocations: 4 kB / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.2605, allocations: 11.44 kB / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2605, allocations: 0 / 0.7905 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of Templates: time 0.003894/0.2644, allocations: 1.458 MB / 0.792 GB, free: 4.312 MB / 0.6075 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)