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.436/1.436, allocations: 249.5 MB / 257 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 183.4 kB / 316.3 MB, free: 3.289 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.674/1.674, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001092/0.001091, allocations: 86.48 kB / 0.6714 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.707e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2517, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8636/1.115, allocations: 132.1 MB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/1.116, allocations: 70.72 kB / 1.014 GB, free: 5.719 MB / 0.6355 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.006154/1.122, allocations: 2.058 MB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.244e-06/1.122, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-06/1.122, allocations: 0 / 1.016 GB, free: 3.965 MB / 0.6355 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.0003688/1.122, allocations: 334.5 kB / 1.017 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.122, allocations: 8.031 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/1.122, allocations: 0.9375 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/1.123, allocations: 178.6 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.123, allocations: 4 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/1.123, allocations: 0 / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.193e-05/1.123, allocations: 4 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/1.123, allocations: 37.62 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.123, allocations: 1.938 kB / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/1.123, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.123, allocations: 0 / 1.017 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/1.123, allocations: 138.1 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/1.123, allocations: 34.33 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/1.123, allocations: 8.859 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/1.123, allocations: 0 / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/1.123, allocations: 57.94 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/1.123, allocations: 3.938 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001876/1.123, allocations: 53.47 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/1.123, allocations: 63.28 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/1.124, allocations: 85 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/1.124, allocations: 29.7 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/1.124, allocations: 84.12 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/1.124, allocations: 11.66 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/1.124, allocations: 0 / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001307/1.124, allocations: 310.8 kB / 1.018 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/1.124, allocations: 7.125 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.192e-05/1.124, allocations: 34.81 kB / 1.018 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/1.124, allocations: 7.984 kB / 1.018 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.124, allocations: 7.938 kB / 1.018 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.806e-05/1.124, allocations: 61.05 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.124, allocations: 4 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.124, allocations: 8.078 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.124, allocations: 4 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/1.124, allocations: 7.984 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.124, allocations: 4 kB / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/1.124, allocations: 0 / 1.018 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/1.124, allocations: 7.25 kB / 1.018 GB, free: 2.227 MB / 0.6355 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 () * 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 8.273e-05/1.124, allocations: 103.4 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/1.124, allocations: 11.8 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/1.124, allocations: 8.125 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.124, allocations: 4 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.124, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.124, allocations: 4.5 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/1.124, allocations: 137.3 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/1.124, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/1.124, allocations: 0.5 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.124, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.124, allocations: 11.94 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.124, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.125, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/1.125, allocations: 80.25 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/1.125, allocations: 77.11 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/1.125, allocations: 3.984 kB / 1.018 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/1.125, allocations: 3.953 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/1.125, allocations: 7.938 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/1.125, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.39e-05/1.125, allocations: 83.22 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.125, allocations: 0 / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002445/1.125, allocations: 47.95 kB / 1.018 GB, free: 1.578 MB / 0.6355 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 () * 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.0003595/1.125, allocations: 158.7 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.64e-05/1.126, allocations: 26.31 kB / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.126, allocations: 0 / 1.019 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/1.126, allocations: 19.31 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.213e-05/1.126, allocations: 7.922 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/1.126, allocations: 66.94 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/1.126, allocations: 0.6768 MB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.439e-05/1.126, allocations: 4 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/1.126, allocations: 7.438 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.126, allocations: 0 / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of Templates: time 0.003584/1.13, allocations: 1.123 MB / 1.02 GB, free: 15.48 MB / 0.6511 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