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.0008841/0.0008842, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001056, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.819/1.819, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0005462/0.0005462, allocations: 13.69 kB / 0.6738 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2803, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.001496/0.2819, allocations: 0.9314 MB / 0.7883 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008381/0.2828, allocations: 377 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.2828, allocations: 3.938 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/0.2828, allocations: 4 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.2829, allocations: 0 / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005675/0.2835, allocations: 75.84 kB / 0.7887 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.145e-05/0.2836, allocations: 15.92 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.2836, allocations: 0 / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.65e-05/0.2837, allocations: 4 kB / 0.7888 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.2837, allocations: 7.984 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2837, allocations: 0 / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.284, allocations: 83.86 kB / 0.7888 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.284, allocations: 7.969 kB / 0.7889 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.284, allocations: 33.7 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.2842, allocations: 59.91 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.2842, allocations: 0 / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.545e-06/0.2842, allocations: 3.938 kB / 0.789 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.2842, allocations: 0 / 0.789 GB, free: 10.24 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.000517/0.2847, allocations: 335.6 kB / 0.7893 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/0.2848, allocations: 8.031 kB / 0.7893 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.303e-05/0.2849, allocations: 38.47 kB / 0.7893 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.285, allocations: 4 kB / 0.7893 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2851, allocations: 175 kB / 0.7895 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.2852, allocations: 3.938 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.2852, allocations: 4 kB / 0.7895 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.2853, allocations: 37.69 kB / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2853, allocations: 0 / 0.7895 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.2853, allocations: 4 kB / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.2853, allocations: 0 / 0.7895 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.2854, allocations: 15.91 kB / 0.7895 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.2858, allocations: 248.9 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.068e-05/0.2859, allocations: 30.58 kB / 0.7898 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.2859, allocations: 16.94 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.2859, allocations: 0 / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.2861, allocations: 63.34 kB / 0.7899 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.2861, allocations: 0 / 0.7899 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0002691/0.2864, allocations: 73.58 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.2864, allocations: 55.41 kB / 0.79 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.2865, allocations: 93.86 kB / 0.7901 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.2865, allocations: 25.7 kB / 0.7901 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.2866, allocations: 88.14 kB / 0.7902 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.2866, allocations: 7.891 kB / 0.7902 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-06/0.2866, allocations: 4.125 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2868, allocations: 318.8 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.2868, allocations: 8 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.051e-05/0.2869, allocations: 39.36 kB / 0.7906 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.208e-05/0.2869, allocations: 12 kB / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.2869, allocations: 0 / 0.7906 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/0.287, allocations: 81.45 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2871, allocations: 4 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2871, allocations: 0 / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.2871, allocations: 4 kB / 0.7907 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.2872, allocations: 15.94 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2872, allocations: 3.984 kB / 0.7907 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.237e-05/0.2873, allocations: 3.938 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.2873, allocations: 4 kB / 0.7907 GB, free: 8.207 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 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/0.2874, allocations: 122.5 kB / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.2874, allocations: 0 / 0.7908 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.2874, allocations: 3.562 kB / 0.7908 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.2874, allocations: 4.25 kB / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2875, allocations: 0 / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2875, allocations: 7.938 kB / 0.7908 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.2878, allocations: 302.5 kB / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2878, allocations: 0 / 0.7911 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.391e-05/0.2878, allocations: 8 kB / 0.7911 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2878, allocations: 4 kB / 0.7911 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2878, allocations: 4 kB / 0.7911 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2878, allocations: 0 / 0.7911 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2878, allocations: 0 / 0.7911 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.288, allocations: 167.4 kB / 0.7913 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.6e-05/0.2881, allocations: 77.11 kB / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2881, allocations: 0 / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.089e-05/0.2881, allocations: 0 / 0.7914 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.2882, allocations: 15.92 kB / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.2882, allocations: 96 / 0.7914 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.2882, allocations: 79.28 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2883, allocations: 0 / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003068/0.2886, allocations: 28 kB / 0.7915 GB, free: 7.297 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007476/0.2893, allocations: 0.7777 MB / 0.7922 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.2894, allocations: 27.94 kB / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2895, allocations: 0 / 0.7923 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.285e-05/0.2895, allocations: 23.92 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.2897, allocations: 0 / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007189/0.2905, allocations: 409.2 kB / 0.7927 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2907, allocations: 0.677 MB / 0.7933 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.696e-05/0.2908, allocations: 8.062 kB / 0.7934 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.166e-05/0.2908, allocations: 7.438 kB / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2908, allocations: 0 / 0.7934 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01341/0.3042, allocations: 1.686 MB / 0.795 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.3045, allocations: 245.1 kB / 0.7952 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.158, allocations: 0 / 0.7952 GB, free: 3.449 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) Environment - environmentSimulation: