Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, 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.001648/0.001648, allocations: 185.7 kB / 16.62 MB, free: 6.613 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.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.807/1.807, allocations: 292.3 MB / 0.549 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.00149/0.00149, allocations: 66.38 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.231, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002956/0.234, allocations: 1.592 MB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.2353, allocations: 0.8161 MB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.2354, allocations: 7.875 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.2354, allocations: 3.938 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.135e-05/0.2355, allocations: 19.78 kB / 0.786 GB, free: 10.8 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.00057/0.2361, allocations: 151.5 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.2363, allocations: 139.6 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.2364, allocations: 16.28 kB / 0.7863 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.717e-05/0.2365, allocations: 63.81 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.2367, allocations: 67.73 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.2367, allocations: 16 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.2369, allocations: 103.8 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.278e-05/0.2369, allocations: 31.89 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.485e-05/0.237, allocations: 55.77 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2372, allocations: 191.5 kB / 0.7868 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2373, allocations: 4 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.552e-06/0.2373, allocations: 0 / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.2373, allocations: 0 / 0.7868 GB, free: 9.98 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007123/0.238, allocations: 490.3 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.238, allocations: 12.03 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.617e-05/0.2381, allocations: 38.67 kB / 0.7873 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.2382, allocations: 12.84 kB / 0.7873 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2383, allocations: 180.7 kB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.2383, allocations: 4.375 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.2384, allocations: 15.92 kB / 0.7875 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2386, allocations: 89.62 kB / 0.7876 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2387, allocations: 4 kB / 0.7876 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.2387, allocations: 8 kB / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2387, allocations: 0 / 0.7876 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.2389, allocations: 63.89 kB / 0.7877 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.2398, allocations: 372.6 kB / 0.788 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.24, allocations: 70.66 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.2401, allocations: 56.77 kB / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2402, allocations: 0 / 0.7882 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/0.2406, allocations: 103.2 kB / 0.7883 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2406, allocations: 4 kB / 0.7883 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006014/0.2412, allocations: 213.4 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.2413, allocations: 59.39 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2414, allocations: 145 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.2416, allocations: 29.7 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.2417, allocations: 104.3 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.2417, allocations: 23.75 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.2418, allocations: 29.7 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.242, allocations: 322.8 kB / 0.7892 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.2421, allocations: 35.97 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.2423, allocations: 80.27 kB / 0.7893 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.2425, allocations: 116.1 kB / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2425, allocations: 0 / 0.7894 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004/0.2429, allocations: 157.4 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.243, allocations: 4 kB / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.243, allocations: 0 / 0.7895 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.243, allocations: 4 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.2432, allocations: 27.84 kB / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2432, allocations: 4 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-05/0.2433, allocations: 8 kB / 0.7896 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.2433, allocations: 7.984 kB / 0.7896 GB, free: 6.871 MB / 0.6075 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.0001229/0.2434, allocations: 136.4 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.2435, allocations: 11.94 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.2435, allocations: 12.72 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2435, allocations: 3.938 kB / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.2435, allocations: 0 / 0.7897 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2435, allocations: 3.984 kB / 0.7897 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006434/0.2442, allocations: 466.8 kB / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2442, allocations: 3.984 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.2443, allocations: 8 kB / 0.7902 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.2443, allocations: 4 kB / 0.7902 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.2443, allocations: 7.984 kB / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.2443, allocations: 0 / 0.7902 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2443, allocations: 3.938 kB / 0.7902 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.2448, allocations: 267.3 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.2448, allocations: 88.94 kB / 0.7906 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.2449, allocations: 4 kB / 0.7906 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.245, allocations: 8 kB / 0.7906 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.245, allocations: 7.984 kB / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.2451, allocations: 3.984 kB / 0.7906 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.423e-05/0.2452, allocations: 103.3 kB / 0.7907 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2452, allocations: 4 kB / 0.7907 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003328/0.2456, allocations: 47.92 kB / 0.7907 GB, free: 5.598 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,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 (9): * Single equations (assignments): 5 * 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.001051/0.2466, allocations: 0.8678 MB / 0.7916 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.247, allocations: 107.8 kB / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.247, allocations: 0 / 0.7917 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.2471, allocations: 55.97 kB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.2475, allocations: 14.95 kB / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.2497, allocations: 1.711 MB / 0.7934 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.25, allocations: 0.6924 MB / 0.7941 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.506e-05/0.2501, allocations: 12.06 kB / 0.7941 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.2502, allocations: 31.42 kB / 0.7941 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2502, allocations: 3.938 kB / 0.7941 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02091/0.2711, allocations: 3.38 MB / 0.7974 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.938, allocations: 7 kB / 0.7974 GB, free: 14.73 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)