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.001687/0.001687, allocations: 108 kB / 15.61 MB, free: 152 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.002089/0.002089, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.437/1.437, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.663/1.663, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001381/0.001381, allocations: 71.06 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2043, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002583/0.207, allocations: 1.586 MB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2082, allocations: 0.8161 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.2083, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.2083, allocations: 7.875 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.254e-05/0.2084, allocations: 27.78 kB / 0.7859 GB, free: 10.92 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.000545/0.2089, allocations: 143.6 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.2091, allocations: 131.6 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.2092, allocations: 24.19 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.469e-05/0.2093, allocations: 63.78 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.616e-05/0.2094, allocations: 75.72 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.2094, allocations: 12 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.2096, allocations: 107.8 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.2097, allocations: 27.91 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.2097, allocations: 51.77 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.21, allocations: 187.5 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.21, allocations: 0 / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.21, allocations: 0 / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.21, allocations: 0 / 0.7866 GB, free: 10.11 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.0006735/0.2107, allocations: 0.4905 MB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.2107, allocations: 8.031 kB / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.2108, allocations: 38.73 kB / 0.7872 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.2108, allocations: 12.84 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2109, allocations: 188.7 kB / 0.7874 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.211, allocations: 8.312 kB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.211, allocations: 7.938 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.2112, allocations: 101.6 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2112, allocations: 0 / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2113, allocations: 0 / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2113, allocations: 0 / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.2115, allocations: 63.95 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007716/0.2122, allocations: 368.6 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2124, allocations: 70.48 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.2125, allocations: 52.83 kB / 0.788 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.2126, allocations: 8.141 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.2128, allocations: 103.3 kB / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.2128, allocations: 0 / 0.7881 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005419/0.2134, allocations: 213.7 kB / 0.7883 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.2134, allocations: 59.45 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.2135, allocations: 145 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.2136, allocations: 37.64 kB / 0.7885 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.2136, allocations: 104.3 kB / 0.7886 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.2137, allocations: 19.73 kB / 0.7887 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/0.2137, allocations: 37.7 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2139, allocations: 318.8 kB / 0.789 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.214, allocations: 35.98 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.2141, allocations: 86.88 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.2144, allocations: 108.2 kB / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2144, allocations: 0 / 0.7892 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003168/0.2147, allocations: 161.3 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2147, allocations: 8 kB / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2147, allocations: 0 / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2147, allocations: 0 / 0.7894 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.2149, allocations: 23.92 kB / 0.7894 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.2149, allocations: 3.938 kB / 0.7894 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.995e-05/0.215, allocations: 16.08 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.215, allocations: 8 kB / 0.7894 GB, free: 6.984 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 9.472e-05/0.2151, allocations: 121.8 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/0.2152, allocations: 7.906 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.2152, allocations: 16.7 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2152, allocations: 3.938 kB / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2152, allocations: 64 / 0.7896 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.2152, allocations: 8 kB / 0.7896 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.2158, allocations: 462.3 kB / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2158, allocations: 0 / 0.79 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.2159, allocations: 15.92 kB / 0.79 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2159, allocations: 48 / 0.79 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.2159, allocations: 7.922 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2159, allocations: 0 / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2159, allocations: 4 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.2163, allocations: 271.3 kB / 0.7903 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.2164, allocations: 88.95 kB / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.2164, allocations: 0 / 0.7904 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.2166, allocations: 11.98 kB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.982e-05/0.2166, allocations: 4 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.2166, allocations: 11.92 kB / 0.7904 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.381e-05/0.2167, allocations: 107.3 kB / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2167, allocations: 0 / 0.7905 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003101/0.217, allocations: 47.98 kB / 0.7906 GB, free: 5.715 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.0008971/0.2179, allocations: 0.8675 MB / 0.7914 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.2183, allocations: 119.9 kB / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2183, allocations: 0 / 0.7915 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.2184, allocations: 55.97 kB / 0.7916 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.2187, allocations: 12.19 kB / 0.7916 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.2206, allocations: 1.692 MB / 0.7932 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.2209, allocations: 0.7041 MB / 0.7939 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.2209, allocations: 7.938 kB / 0.7939 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.221, allocations: 27.42 kB / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.221, allocations: 0 / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.2403, allocations: 3.357 MB / 0.7972 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.443, allocations: 9.125 kB / 0.7973 GB, free: 14.88 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)