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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.189/1.189, allocations: 249.4 MB / 256.7 MB, free: 6.977 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.0009513/0.0009513, allocations: 188.5 kB / 316 MB, free: 3.5 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.06/1.06, allocations: 205.2 MB / 0.5667 GB, free: 15.58 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.0008453/0.0008453, allocations: 82.94 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.578e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1497, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5706, allocations: 132.1 MB / 1.014 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.5709, allocations: 70.58 kB / 1.014 GB, free: 6.785 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: time 0.004925/0.5758, allocations: 1.734 MB / 1.015 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5758, allocations: 7.938 kB / 1.015 GB, free: 5.34 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.0002705/0.5761, allocations: 341.5 kB / 1.016 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.92e-05/0.5761, allocations: 8.031 kB / 1.016 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.5762, allocations: 0 / 1.016 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5763, allocations: 167 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5763, allocations: 0 / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.5763, allocations: 3.906 kB / 1.016 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.147e-05/0.5763, allocations: 7.938 kB / 1.016 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.946e-05/0.5764, allocations: 33.69 kB / 1.016 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.5764, allocations: 8.812 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.5764, allocations: 3.984 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.5764, allocations: 4 kB / 1.016 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.5766, allocations: 125.6 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.903e-05/0.5766, allocations: 29.61 kB / 1.016 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.5767, allocations: 8.859 kB / 1.016 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.5767, allocations: 3.906 kB / 1.016 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.975e-05/0.5767, allocations: 61.06 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.5768, allocations: 0 / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001351/0.5769, allocations: 48.56 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.5769, allocations: 51.41 kB / 1.016 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.113e-05/0.577, allocations: 89 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.577, allocations: 25.7 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.481e-05/0.577, allocations: 91.69 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.5771, allocations: 15.75 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.5771, allocations: 0 / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/0.5772, allocations: 310.8 kB / 1.017 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.5772, allocations: 7.812 kB / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.5772, allocations: 26.44 kB / 1.017 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.5772, allocations: 19.92 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5772, allocations: 0 / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.911e-05/0.5773, allocations: 58.31 kB / 1.017 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/0.5773, allocations: 4 kB / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.5773, allocations: 0 / 1.017 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.5774, allocations: 4 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.5774, allocations: 19.58 kB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5774, allocations: 4 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.379e-05/0.5775, allocations: 4.094 kB / 1.017 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.5775, allocations: 4 kB / 1.017 GB, free: 3.613 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 5.815e-05/0.5775, allocations: 101 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.5776, allocations: 8 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/0.5776, allocations: 11.61 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5776, allocations: 3.938 kB / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5776, allocations: 0 / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5776, allocations: 0 / 1.017 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.519e-05/0.5777, allocations: 138.1 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5777, allocations: 4 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.5777, allocations: 3.906 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.5777, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.5777, allocations: 3.984 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.5777, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5777, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.625e-05/0.5778, allocations: 75.78 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.5779, allocations: 77.11 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.5779, allocations: 0 / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.5779, allocations: 4 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.578, allocations: 7.984 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.578, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.023e-05/0.578, allocations: 75.28 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002167/0.5782, allocations: 43.81 kB / 1.017 GB, free: 2.996 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.0002703/0.5785, allocations: 171 kB / 1.018 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.435e-05/0.5786, allocations: 23.62 kB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.5786, allocations: 0 / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.5786, allocations: 11.44 kB / 1.018 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.707e-05/0.5787, allocations: 9.453 kB / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001502/0.5789, allocations: 62.84 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.5791, allocations: 0.6878 MB / 1.018 GB, free: 2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/0.5791, allocations: 4 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of Templates: time 0.002713/0.5818, allocations: 1.171 MB / 1.019 GB, free: 0.8438 MB / 0.6355 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