Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001124/0.001124, 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.001192/0.001192, allocations: 194.5 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.327/1.327, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.678/1.678, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001386/0.001386, allocations: 65.84 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.178, allocations: 114.5 MB / 0.7835 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.00244/0.1804, allocations: 1.516 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.1817, allocations: 0.8004 MB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.1817, allocations: 3.938 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.1818, allocations: 3.938 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.1818, allocations: 11.88 kB / 0.7857 GB, free: 11.06 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.0005327/0.1823, allocations: 143.6 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1825, allocations: 95.77 kB / 0.786 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.1826, allocations: 16.22 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.144e-05/0.1826, allocations: 47.89 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.637e-05/0.1827, allocations: 55.8 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1828, allocations: 8 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.1829, allocations: 99.84 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.195e-05/0.183, allocations: 23.97 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.882e-05/0.183, allocations: 43.78 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.1832, allocations: 163.6 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1833, allocations: 4 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1833, allocations: 0 / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1833, allocations: 4 kB / 0.7864 GB, free: 10.37 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000582/0.1839, allocations: 458.5 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1839, allocations: 15.95 kB / 0.7869 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.401e-05/0.1839, allocations: 34.75 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.184, allocations: 16.84 kB / 0.7869 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1841, allocations: 171.4 kB / 0.7871 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1841, allocations: 4.359 kB / 0.7871 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1841, allocations: 8.375 kB / 0.7871 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.1844, allocations: 93.69 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1844, allocations: 3.938 kB / 0.7872 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1844, allocations: 4 kB / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1844, allocations: 0 / 0.7872 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1846, allocations: 47.97 kB / 0.7872 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007286/0.1853, allocations: 344.7 kB / 0.7876 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1855, allocations: 66.58 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.1857, allocations: 48.83 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1857, allocations: 4 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.1859, allocations: 95.34 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1859, allocations: 0 / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005433/0.1865, allocations: 197.6 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1865, allocations: 55.39 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.91e-05/0.1866, allocations: 125.8 kB / 0.7881 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1867, allocations: 29.7 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.1867, allocations: 96.12 kB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.1867, allocations: 7.812 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.1868, allocations: 33.7 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/0.1869, allocations: 326.8 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.652e-05/0.187, allocations: 27.98 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.1871, allocations: 68.27 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.1873, allocations: 100.2 kB / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1873, allocations: 0 / 0.7888 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002536/0.1875, allocations: 125.4 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1876, allocations: 8 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1876, allocations: 0 / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1876, allocations: 8.094 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1877, allocations: 11.98 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.1877, allocations: 7.938 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.1878, allocations: 19.77 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1878, allocations: 4 kB / 0.789 GB, free: 7.484 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,occ.y,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 (13): * Single equations (assignments): 13 * 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 8.775e-05/0.1879, allocations: 123.4 kB / 0.7891 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.188, allocations: 4 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.188, allocations: 16.36 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.188, allocations: 4 kB / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.188, allocations: 0 / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.188, allocations: 0 / 0.7891 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.1886, allocations: 430.3 kB / 0.7895 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1886, allocations: 4 kB / 0.7895 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.1886, allocations: 3.984 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.1886, allocations: 4 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1887, allocations: 7.938 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1887, allocations: 0 / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1887, allocations: 3.938 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004036/0.1891, allocations: 247.7 kB / 0.7898 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.1891, allocations: 88.95 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1892, allocations: 0 / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.1893, allocations: 15.98 kB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.1893, allocations: 8 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1894, allocations: 11.98 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.1894, allocations: 94.27 kB / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1894, allocations: 0 / 0.79 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003032/0.1897, allocations: 40 kB / 0.79 GB, free: 6.305 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0008059/0.1905, allocations: 0.8439 MB / 0.7909 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.1908, allocations: 99.81 kB / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1908, allocations: 0 / 0.7909 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.191, allocations: 47.98 kB / 0.791 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.1913, allocations: 19.8 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.1929, allocations: 1.577 MB / 0.7926 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1932, allocations: 0.6953 MB / 0.7932 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.1932, allocations: 7.781 kB / 0.7932 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.1933, allocations: 27.36 kB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.1933, allocations: 0 / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.2111, allocations: 2.942 MB / 0.7961 GB, free: 16 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.406, allocations: 12.69 kB / 0.7962 GB, free: 8 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)