Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.001039, allocations: 187.7 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008896/0.0008896, allocations: 86.44 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 11.59 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.219, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.3849, allocations: 131.9 MB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.3852, allocations: 79.94 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 FrontEnd - DAE generated: time 0.005666/0.3908, allocations: 2.065 MB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3909, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3909, allocations: 4 kB / 1.031 GB, free: 9.711 MB / 0.6823 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.0004132/0.3913, allocations: 351.2 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3913, allocations: 12.03 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.3914, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3915, allocations: 167 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3915, allocations: 4 kB / 1.031 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3916, allocations: 4 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3917, allocations: 41.61 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3917, allocations: 4 kB / 1.032 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3917, allocations: 4 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.3917, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.798e-05/0.3917, allocations: 11.98 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.3919, allocations: 157.6 kB / 1.032 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.392, allocations: 23.25 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.392, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.3921, allocations: 63.47 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.3922, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0001855/0.3923, allocations: 69.67 kB / 1.032 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3924, allocations: 55.41 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.3925, allocations: 88.91 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3925, allocations: 29.7 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.3925, allocations: 84.14 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3926, allocations: 11.97 kB / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.3926, allocations: 0 / 1.032 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3927, allocations: 322.8 kB / 1.032 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.758e-05/0.3927, allocations: 4 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.3928, allocations: 39.3 kB / 1.032 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.3928, allocations: 19.95 kB / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3928, allocations: 0 / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001003/0.3929, allocations: 65.62 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3929, allocations: 4 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3929, allocations: 0 / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.393, allocations: 4 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.393, allocations: 11.92 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.393, allocations: 4 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.377e-05/0.3931, allocations: 0 / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.3931, allocations: 8.094 kB / 1.033 GB, free: 7.855 MB / 0.6823 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.669e-05/0.3932, allocations: 113.8 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.3932, allocations: 7.906 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.3932, allocations: 3.5 kB / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3932, allocations: 0 / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3932, allocations: 0 / 1.033 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3932, allocations: 3.984 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.3934, allocations: 153.7 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3934, allocations: 7.938 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.3934, allocations: 8 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3934, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3934, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.3934, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3934, allocations: 0 / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.3936, allocations: 93.27 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.3936, allocations: 81.06 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.211e-05/0.3936, allocations: 0 / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.3936, allocations: 4 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.3937, allocations: 8 kB / 1.033 GB, free: 7.281 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.3937, allocations: 3.984 kB / 1.033 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.3937, allocations: 75.28 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.014e-06/0.3937, allocations: 4 kB / 1.033 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002269/0.394, allocations: 43.88 kB / 1.033 GB, free: 7.156 MB / 0.6823 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,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003408/0.3943, allocations: 165 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.3944, allocations: 31.92 kB / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.3944, allocations: 0 / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.3945, allocations: 19.97 kB / 1.033 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.738e-05/0.3946, allocations: 1.719 kB / 1.033 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.3948, allocations: 110.3 kB / 1.033 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.3951, allocations: 0.685 MB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.3951, allocations: 0 / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.537e-05/0.3952, allocations: 11.44 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.3952, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of Templates: time 0.003094/0.3983, allocations: 1.117 MB / 1.035 GB, free: 4.988 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:seed,t0,time,y