Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.96/1.96, allocations: 390.4 MB / 397.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009991/0.0009992, allocations: 182.6 kB / 490.8 MB, free: 1.91 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008936/0.0008935, allocations: 91.25 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.201e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2497, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6484/0.8982, allocations: 149.5 MB / 1.358 GB, free: 17.16 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/0.8984, allocations: 75.31 kB / 1.358 GB, free: 17.16 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.005686/0.9041, allocations: 1.745 MB / 1.359 GB, free: 17.09 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.9042, allocations: 4.875 kB / 1.359 GB, free: 17.08 MB / 0.823 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.0003705/0.9045, allocations: 342.3 kB / 1.36 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.9046, allocations: 9.531 kB / 1.36 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.9046, allocations: 1.719 kB / 1.36 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.203e-05/0.9047, allocations: 169.9 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.9048, allocations: 1.797 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.9048, allocations: 1.875 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.119e-05/0.9048, allocations: 4.188 kB / 1.36 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.367e-05/0.9049, allocations: 41.45 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.9049, allocations: 4.969 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.9049, allocations: 0 / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.905, allocations: 1.062 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.9051, allocations: 135.1 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.06e-05/0.9052, allocations: 26.86 kB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.9052, allocations: 8.875 kB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.9052, allocations: 5.031 kB / 1.36 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.58e-05/0.9053, allocations: 49.75 kB / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.9053, allocations: 0 / 1.36 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001774/0.9055, allocations: 50.31 kB / 1.36 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.9055, allocations: 60.31 kB / 1.36 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.9056, allocations: 88.56 kB / 1.36 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.9056, allocations: 30.95 kB / 1.36 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.9056, allocations: 81.81 kB / 1.36 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.9057, allocations: 13.53 kB / 1.36 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.9057, allocations: 1.156 kB / 1.36 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.9058, allocations: 313.5 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.9058, allocations: 6.906 kB / 1.361 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.832e-05/0.9058, allocations: 26.73 kB / 1.361 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.918e-05/0.9059, allocations: 15.52 kB / 1.361 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9059, allocations: 1 kB / 1.361 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.449e-05/0.906, allocations: 60.2 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.906, allocations: 12.66 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.906, allocations: 1.031 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.906, allocations: 2.641 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.9061, allocations: 7.172 kB / 1.361 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.9061, allocations: 5.828 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.9061, allocations: 2.094 kB / 1.361 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.9062, allocations: 2.156 kB / 1.361 GB, free: 31.52 MB / 0.8386 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 7.596e-05/0.9062, allocations: 115.9 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.9063, allocations: 1.766 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.9063, allocations: 4.391 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.9063, allocations: 1.25 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9063, allocations: 0 / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.9063, allocations: 2.156 kB / 1.361 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.634e-05/0.9064, allocations: 142.6 kB / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9064, allocations: 0 / 1.361 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.9064, allocations: 5.828 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9064, allocations: 1.188 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.9065, allocations: 6.125 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.9065, allocations: 0.75 kB / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9065, allocations: 0 / 1.361 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001094/0.9066, allocations: 76.78 kB / 1.361 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.97e-05/0.9066, allocations: 83.12 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.9066, allocations: 1.188 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.9067, allocations: 0.7969 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.9067, allocations: 5.719 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.9067, allocations: 1.703 kB / 1.361 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.063e-05/0.9067, allocations: 82.36 kB / 1.361 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002837/0.907, allocations: 38.5 kB / 1.361 GB, free: 30.98 MB / 0.8386 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.0003536/0.9074, allocations: 165.9 kB / 1.362 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.9075, allocations: 20.56 kB / 1.362 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9075, allocations: 0 / 1.362 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.621e-05/0.9075, allocations: 14.5 kB / 1.362 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.033e-05/0.9076, allocations: 1.531 kB / 1.362 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001997/0.9078, allocations: 68.42 kB / 1.362 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.9081, allocations: 0.687 MB / 1.362 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/0.9081, allocations: 0 / 1.362 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of Templates: time 0.003624/0.9117, allocations: 1.167 MB / 1.363 GB, free: 29.97 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","../files/Buildings_latest_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