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.001322/0.001322, 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.0012/0.0012, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.495/1.495, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.841/1.841, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001723/0.001723, allocations: 68.41 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2744, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00269/0.2772, allocations: 1.209 MB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008497/0.2781, allocations: 411.4 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.2781, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.2781, allocations: 0 / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.669e-05/0.2782, allocations: 0 / 0.785 GB, free: 11.75 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.0007057/0.2789, allocations: 95.66 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.279, allocations: 11.94 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.187e-05/0.279, allocations: 7.984 kB / 0.7851 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.2791, allocations: 7.984 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/0.2791, allocations: 8 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2791, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.2794, allocations: 99.83 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.2794, allocations: 3.938 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.2794, allocations: 4 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.2796, allocations: 87.81 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2796, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2797, allocations: 0 / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.2797, allocations: 0 / 0.7854 GB, free: 11.43 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.0004747/0.2801, allocations: 347.8 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.2802, allocations: 12.03 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/0.2803, allocations: 30.75 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.2803, allocations: 0.9375 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2804, allocations: 172.3 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.2804, allocations: 4.359 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.2805, allocations: 8.375 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.885e-05/0.2806, allocations: 34.25 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2806, allocations: 3.938 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2806, allocations: 0 / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2806, allocations: 4 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.2807, allocations: 7.938 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.281, allocations: 248.9 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.15e-05/0.2811, allocations: 38.5 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.2811, allocations: 12.86 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.2811, allocations: 12.08 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.2813, allocations: 51.41 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.2813, allocations: 3.938 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002221/0.2816, allocations: 85.5 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2816, allocations: 51.41 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.2817, allocations: 93.86 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.2817, allocations: 33.83 kB / 0.7866 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.2818, allocations: 80.14 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.2818, allocations: 15.89 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.2818, allocations: 17.72 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2819, allocations: 314.8 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.282, allocations: 11.98 kB / 0.787 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.46e-05/0.282, allocations: 31.44 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.2821, allocations: 55.36 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.2821, allocations: 3.938 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001064/0.2822, allocations: 73.47 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2822, allocations: 4 kB / 0.7871 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2823, allocations: 7.984 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2823, allocations: 0 / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.2823, allocations: 12.06 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2824, allocations: 0 / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.2824, allocations: 7.938 kB / 0.7872 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2824, allocations: 256 / 0.7872 GB, free: 9.316 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 0.0001226/0.2825, allocations: 117.8 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.2825, allocations: 0 / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.2826, allocations: 15.55 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2826, allocations: 7.938 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2826, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2826, allocations: 4 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.2829, allocations: 298.6 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2829, allocations: 0 / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.2829, allocations: 4 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2829, allocations: 3.984 kB / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2829, allocations: 0 / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2829, allocations: 3.938 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2829, allocations: 0 / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.2831, allocations: 171.3 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.2831, allocations: 81.09 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.2832, allocations: 7.938 kB / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.2832, allocations: 0 / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.2832, allocations: 0 / 0.7878 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.2833, allocations: 8 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.2833, allocations: 75.28 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2833, allocations: 0 / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002914/0.2836, allocations: 40.02 kB / 0.788 GB, free: 8.391 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.000733/0.2843, allocations: 0.7627 MB / 0.7887 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.2845, allocations: 39.92 kB / 0.7887 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2845, allocations: 0 / 0.7887 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.2845, allocations: 16 kB / 0.7888 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.2848, allocations: 3.984 kB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.2859, allocations: 1.257 MB / 0.79 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.2863, allocations: 0.6807 MB / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.508e-05/0.2863, allocations: 0 / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.2863, allocations: 15.44 kB / 0.7907 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2863, allocations: 0 / 0.7907 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.3076, allocations: 1.872 MB / 0.7925 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/8.067, allocations: 10.25 kB / 0.7925 GB, free: 3.727 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)