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.001423/0.001423, allocations: 109.4 kB / 15.69 MB, free: 128 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.001811/0.001811, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.557/1.557, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.944/1.944, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001384/0.001384, allocations: 66.3 kB / 0.6722 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2394, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002833/0.2422, allocations: 1.488 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2436, allocations: 0.7769 MB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.2436, allocations: 0 / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.939e-05/0.2437, allocations: 7.922 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.2437, allocations: 7.875 kB / 0.7864 GB, free: 10.43 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.0006544/0.2444, allocations: 127.6 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2445, allocations: 67.84 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2447, allocations: 19.97 kB / 0.7866 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.2447, allocations: 31.86 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.407e-05/0.2448, allocations: 39.88 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.2449, allocations: 8 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.2451, allocations: 95.86 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.2451, allocations: 19.91 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.814e-05/0.2452, allocations: 31.86 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.2454, allocations: 147.5 kB / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2454, allocations: 0 / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2454, allocations: 0 / 0.7869 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2454, allocations: 0 / 0.7869 GB, free: 9.852 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.000671/0.2461, allocations: 420.9 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.2462, allocations: 8.031 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.43e-05/0.2462, allocations: 8.844 kB / 0.7873 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.2464, allocations: 176.2 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.2464, allocations: 8.375 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.2464, allocations: 8.375 kB / 0.7875 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.2466, allocations: 69.95 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.2466, allocations: 0 / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.2466, allocations: 0 / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2466, allocations: 7.938 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.2468, allocations: 35.92 kB / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.2474, allocations: 316.8 kB / 0.7879 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.2476, allocations: 42.56 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.2477, allocations: 36.97 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.2477, allocations: 0 / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.2479, allocations: 91.22 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.2479, allocations: 0 / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004002/0.2483, allocations: 133.7 kB / 0.7882 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.2484, allocations: 63.39 kB / 0.7883 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2485, allocations: 121.8 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.2485, allocations: 25.7 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.2486, allocations: 96.12 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.2486, allocations: 15.75 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.2487, allocations: 29.7 kB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2488, allocations: 322.8 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.2489, allocations: 31.91 kB / 0.7889 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.249, allocations: 55.36 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.2492, allocations: 87.34 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2492, allocations: 0 / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002476/0.2495, allocations: 109.5 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.2495, allocations: 4 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2495, allocations: 4 kB / 0.7891 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2495, allocations: 4.062 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.2496, allocations: 15.98 kB / 0.7892 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.2496, allocations: 7.938 kB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.47e-05/0.2497, allocations: 4 kB / 0.7892 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.2497, allocations: 7.984 kB / 0.7892 GB, free: 7.277 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 0.0001026/0.2498, allocations: 118.4 kB / 0.7893 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.889e-05/0.2499, allocations: 7.906 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.2499, allocations: 12.38 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2499, allocations: 0 / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2499, allocations: 0 / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2499, allocations: 3.984 kB / 0.7893 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.2504, allocations: 386.7 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2504, allocations: 0 / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.2505, allocations: 3.984 kB / 0.7897 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2505, allocations: 4 kB / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2505, allocations: 0 / 0.7897 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2505, allocations: 4.078 kB / 0.7897 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.2505, allocations: 7.922 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.2508, allocations: 211.4 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.2509, allocations: 88.89 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2509, allocations: 64 / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.251, allocations: 11.98 kB / 0.79 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.2511, allocations: 7.938 kB / 0.79 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.2511, allocations: 4 kB / 0.79 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.292e-05/0.2511, allocations: 99.86 kB / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2511, allocations: 0 / 0.7901 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003157/0.2515, allocations: 39.98 kB / 0.7901 GB, free: 6.188 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.0003593/0.2518, allocations: 158.6 kB / 0.7903 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00026/0.2521, allocations: 79.88 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2521, allocations: 0 / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-05/0.2522, allocations: 35.98 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.2525, allocations: 2.969 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.2529, allocations: 192.2 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.2532, allocations: 0.6886 MB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.2533, allocations: 7.984 kB / 0.7913 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.2533, allocations: 15.38 kB / 0.7913 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2533, allocations: 0 / 0.7913 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of Templates: time 0.00424/0.2576, allocations: 1.443 MB / 0.7927 GB, free: 3.535 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)