Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001672/0.001672, allocations: 105.4 kB / 15.7 MB, free: 28 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.002062/0.002062, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.483/1.483, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.744/1.744, 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.001376/0.001376, allocations: 75.28 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2756, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003605/0.2792, allocations: 1.519 MB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00171/0.281, allocations: 0.7926 MB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.2811, allocations: 0 / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.2811, allocations: 11.92 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.924e-05/0.2812, allocations: 7.875 kB / 0.7859 GB, free: 10.94 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.0008042/0.282, allocations: 143.5 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.2822, allocations: 99.75 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.2824, allocations: 12.28 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.2825, allocations: 51.83 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.2827, allocations: 55.8 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.2827, allocations: 8 kB / 0.7863 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.2829, allocations: 99.84 kB / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.283, allocations: 23.92 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.964e-05/0.283, allocations: 39.83 kB / 0.7864 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.2833, allocations: 167.5 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.2833, allocations: 8 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2834, allocations: 0 / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.2834, allocations: 0 / 0.7866 GB, free: 10.25 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.0008062/0.2842, allocations: 462.5 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.2842, allocations: 8.031 kB / 0.787 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.2843, allocations: 38.75 kB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.2843, allocations: 8.844 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.2845, allocations: 176.3 kB / 0.7872 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.2846, allocations: 4.375 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.2846, allocations: 16.31 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.2849, allocations: 85.75 kB / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2849, allocations: 0 / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2849, allocations: 0 / 0.7873 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/0.285, allocations: 3.984 kB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.2852, allocations: 43.97 kB / 0.7874 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008377/0.286, allocations: 348.6 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.2863, allocations: 58.55 kB / 0.7878 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.2864, allocations: 44.84 kB / 0.7878 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.2865, allocations: 7.984 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.2868, allocations: 91.39 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 4.558e-06/0.2868, allocations: 0 / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0006163/0.2874, allocations: 189.6 kB / 0.7881 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.2875, allocations: 55.41 kB / 0.7881 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.2877, allocations: 136.9 kB / 0.7883 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.2877, allocations: 29.7 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.774e-05/0.2878, allocations: 92.12 kB / 0.7884 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.601e-05/0.2878, allocations: 15.81 kB / 0.7884 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.2879, allocations: 33.7 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2881, allocations: 322.8 kB / 0.7888 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.2882, allocations: 27.98 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.2883, allocations: 68.2 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.2886, allocations: 96.16 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2886, allocations: 0 / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002793/0.2889, allocations: 133.5 kB / 0.7891 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2889, allocations: 8 kB / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2889, allocations: 0 / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.289, allocations: 4 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2891, allocations: 15.92 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.2891, allocations: 4 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/0.2892, allocations: 15.84 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.2892, allocations: 12.08 kB / 0.7891 GB, free: 7.371 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 0.0001315/0.2894, allocations: 124.1 kB / 0.7892 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.2894, allocations: 4 kB / 0.7892 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.2894, allocations: 12.38 kB / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.2894, allocations: 0 / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2894, allocations: 0 / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2895, allocations: 0 / 0.7893 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005835/0.29, allocations: 434.3 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2901, allocations: 0 / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.2901, allocations: 4 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2901, allocations: 0 / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2901, allocations: 7.984 kB / 0.7897 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2901, allocations: 3.938 kB / 0.7897 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2901, allocations: 7.938 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.2905, allocations: 239.4 kB / 0.7899 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.2906, allocations: 88.95 kB / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.2906, allocations: 0 / 0.79 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2907, allocations: 11.92 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.2908, allocations: 7.938 kB / 0.79 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2908, allocations: 8.047 kB / 0.79 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.624e-05/0.2909, allocations: 95.27 kB / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2909, allocations: 0 / 0.7901 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003418/0.2912, allocations: 44 kB / 0.7902 GB, free: 6.203 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.001116/0.2923, allocations: 0.855 MB / 0.791 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.2927, allocations: 88.44 kB / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2927, allocations: 0 / 0.7911 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.2929, allocations: 43.97 kB / 0.7911 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2932, allocations: 20.02 kB / 0.7911 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.2952, allocations: 1.59 MB / 0.7927 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.2956, allocations: 0.6912 MB / 0.7934 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.648e-05/0.2957, allocations: 4 kB / 0.7934 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.954e-05/0.2958, allocations: 23.42 kB / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.2958, allocations: 3.938 kB / 0.7934 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.3182, allocations: 2.953 MB / 0.7963 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.94, allocations: 9.438 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)