Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.912/1.912, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.00109/0.00109, allocations: 192.7 kB / 487 MB, free: 5.332 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.246/1.246, allocations: 221.3 MB / 0.7819 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000934/0.000934, allocations: 92.69 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.111e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2341, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5983/0.8324, allocations: 148.7 MB / 1.35 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.8327, allocations: 76.23 kB / 1.35 GB, free: 15.71 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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.005344/0.838, allocations: 1.738 MB / 1.352 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.8381, allocations: 2.312 kB / 1.352 GB, free: 15.65 MB / 0.8073 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.0002732/0.8384, allocations: 348.3 kB / 1.352 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.8384, allocations: 12.84 kB / 1.353 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.8384, allocations: 9.469 kB / 1.353 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.294e-05/0.8385, allocations: 161.8 kB / 1.353 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.8385, allocations: 0 / 1.353 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.8385, allocations: 2.5 kB / 1.353 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.489e-05/0.8386, allocations: 8.141 kB / 1.353 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.434e-05/0.8387, allocations: 36.47 kB / 1.353 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.8387, allocations: 1.344 kB / 1.353 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.8387, allocations: 4.266 kB / 1.353 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.8387, allocations: 0 / 1.353 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.8388, allocations: 139.9 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.806e-05/0.8389, allocations: 27.28 kB / 1.353 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.8389, allocations: 12.8 kB / 1.353 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.8389, allocations: 0 / 1.353 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.839, allocations: 50.47 kB / 1.353 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.839, allocations: 4 kB / 1.353 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.000153/0.8392, allocations: 50.11 kB / 1.353 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.8392, allocations: 56.66 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.067e-05/0.8392, allocations: 89.59 kB / 1.353 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.8392, allocations: 25.7 kB / 1.353 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/0.8393, allocations: 85.91 kB / 1.353 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.8393, allocations: 9.969 kB / 1.353 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.8393, allocations: 0 / 1.353 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.8393, allocations: 325.7 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.8394, allocations: 4.375 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.8394, allocations: 29.58 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.8394, allocations: 7.672 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8394, allocations: 1.266 kB / 1.354 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.673e-05/0.8395, allocations: 68.72 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8395, allocations: 5.844 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.8395, allocations: 1.375 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.8396, allocations: 1.375 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.8396, allocations: 10.3 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8396, allocations: 6.906 kB / 1.354 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.713e-05/0.8397, allocations: 1.375 kB / 1.354 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.8397, allocations: 2.75 kB / 1.354 GB, free: 14.08 MB / 0.8073 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 4.664e-05/0.8397, allocations: 111.7 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.8398, allocations: 1.375 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.8398, allocations: 5.141 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.8398, allocations: 1.375 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.8398, allocations: 0 / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8398, allocations: 3.906 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.012e-05/0.8399, allocations: 135.6 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.8399, allocations: 1.375 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.561e-05/0.8399, allocations: 1.938 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.8399, allocations: 1.891 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.8399, allocations: 4.609 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.8399, allocations: 1.375 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.8399, allocations: 1.375 kB / 1.354 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001007/0.8401, allocations: 80.33 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.8401, allocations: 79.42 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.8401, allocations: 4.641 kB / 1.354 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.257e-05/0.8401, allocations: 9.781 kB / 1.354 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-05/0.8402, allocations: 1.172 kB / 1.354 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.8402, allocations: 7.359 kB / 1.354 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.439e-05/0.8402, allocations: 76.66 kB / 1.354 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002698/0.8405, allocations: 42.33 kB / 1.354 GB, free: 13.54 MB / 0.8073 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.000327/0.8408, allocations: 158.3 kB / 1.354 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.443e-05/0.8409, allocations: 29 kB / 1.354 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8409, allocations: 1.219 kB / 1.354 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.8409, allocations: 11.31 kB / 1.354 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.884e-05/0.841, allocations: 1.641 kB / 1.354 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001778/0.8412, allocations: 59.14 kB / 1.354 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.8414, allocations: 0.6909 MB / 1.355 GB, free: 28.66 MB / 0.823 GB Notification: Performance of SimCode: time 2.31e-07/0.8414, allocations: 0 / 1.355 GB, free: 28.66 MB / 0.823 GB Notification: Performance of Templates: time 0.003844/0.8453, allocations: 1.175 MB / 1.356 GB, free: 28.52 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.csv","../files/Buildings_9_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