Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",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.001699/0.001699, 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.001835/0.001835, allocations: 185.7 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.708/1.708, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001407/0.001407, allocations: 69.83 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2141, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002429/0.2165, allocations: 1.205 MB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007931/0.2173, allocations: 403.5 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.2174, allocations: 3.938 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.2175, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.976e-05/0.2175, allocations: 0 / 0.7852 GB, free: 11.63 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/exponentialVariableGeneration.mo:2:1-32:34:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.exponentialVariableGeneration' 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/exponentialVariableGeneration.mo:11:5-11:98: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.0005597/0.2181, allocations: 99.62 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.2181, allocations: 12 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.2182, allocations: 7.922 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.742e-05/0.2182, allocations: 4 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.709e-05/0.2182, allocations: 15.98 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.2182, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.2185, allocations: 95.83 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.2185, allocations: 4 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.2185, allocations: 3.938 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2187, allocations: 83.81 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2187, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2187, allocations: 4 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.2187, allocations: 0 / 0.7855 GB, free: 11.31 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003917/0.2191, allocations: 347.8 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2192, allocations: 12.03 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.2192, allocations: 34.75 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.2192, allocations: 0.9375 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2193, allocations: 168.3 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.2194, allocations: 8.312 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2194, allocations: 4.312 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.2195, allocations: 42.25 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2195, allocations: 7.922 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.2195, allocations: 0 / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2195, allocations: 4 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.2196, allocations: 4 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.2199, allocations: 241 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.999e-05/0.22, allocations: 46.44 kB / 0.7864 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.22, allocations: 12.94 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.22, allocations: 4 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.2202, allocations: 55.41 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 2.976e-06/0.2202, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.000197/0.2204, allocations: 85.45 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.2204, allocations: 51.41 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.395e-05/0.2205, allocations: 97.86 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2205, allocations: 29.83 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.2206, allocations: 84.14 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2206, allocations: 11.89 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.2206, allocations: 17.72 kB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2207, allocations: 314.8 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.2208, allocations: 11.98 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.566e-05/0.2208, allocations: 31.44 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.2209, allocations: 51.36 kB / 0.7872 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2209, allocations: 7.938 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001061/0.221, allocations: 73.52 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.221, allocations: 6.656 kB / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.221, allocations: 0 / 0.7873 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2211, allocations: 4 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.2211, allocations: 20 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2212, allocations: 0 / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/0.2212, allocations: 8.188 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.2212, allocations: 0 / 0.7873 GB, free: 9.191 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: 5 (curSeed,$PRE.curSeed,$whenCondition1,$outputAlias_y,$PRE.$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.655e-05/0.2213, allocations: 118.4 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.236e-05/0.2213, allocations: 7.984 kB / 0.7874 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.2213, allocations: 3.562 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2213, allocations: 4 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2213, allocations: 0 / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2213, allocations: 4 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.2216, allocations: 306.4 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.2216, allocations: 96 / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.2216, allocations: 3.984 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.2216, allocations: 7.984 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.2216, allocations: 4 kB / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2216, allocations: 0 / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2216, allocations: 0 / 0.7878 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.2218, allocations: 171.3 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.2218, allocations: 81.09 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.2218, allocations: 4 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.651e-05/0.2219, allocations: 3.938 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.2219, allocations: 0 / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2219, allocations: 4 kB / 0.788 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.222, allocations: 79.27 kB / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.222, allocations: 0 / 0.7881 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002735/0.2223, allocations: 31.94 kB / 0.7881 GB, free: 8.27 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006149/0.2229, allocations: 0.7615 MB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.707e-05/0.223, allocations: 32.05 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.223, allocations: 0 / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.162e-05/0.223, allocations: 15.94 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.2232, allocations: 17.33 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2243, allocations: 1.249 MB / 0.7901 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2245, allocations: 0.6807 MB / 0.7908 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.2246, allocations: 0 / 0.7908 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.2246, allocations: 13.94 kB / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2246, allocations: 0 / 0.7908 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.2433, allocations: 1.901 MB / 0.7927 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.851/8.094, allocations: 6.562 kB / 0.7927 GB, free: 3.605 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)