Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") [: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.96/1.96, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001066/0.001066, allocations: 181.2 kB / 487 MB, free: 5.375 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.224/1.224, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0009778/0.0009778, allocations: 92.56 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.961e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2306, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5553/0.7859, allocations: 148.8 MB / 1.35 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.7862, allocations: 73.14 kB / 1.351 GB, free: 15.64 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96: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.005878/0.7921, allocations: 1.984 MB / 1.352 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.7921, allocations: 1.219 kB / 1.352 GB, free: 15.55 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.00027/0.7924, allocations: 386.4 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.7924, allocations: 9.312 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.7925, allocations: 5.812 kB / 1.353 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.119e-05/0.7926, allocations: 166.2 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.7926, allocations: 0.75 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.7926, allocations: 14.03 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.726e-05/0.7926, allocations: 7.25 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.416e-05/0.7927, allocations: 34.92 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.7927, allocations: 3.938 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.7927, allocations: 1.125 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7927, allocations: 0.6562 kB / 1.353 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.555e-05/0.7928, allocations: 134.2 kB / 1.353 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.553e-05/0.7929, allocations: 31.5 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.7929, allocations: 14.86 kB / 1.353 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.7929, allocations: 3.938 kB / 1.353 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.029e-05/0.793, allocations: 54.86 kB / 1.353 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.793, allocations: 0 / 1.353 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001194/0.7931, allocations: 49.53 kB / 1.353 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.7932, allocations: 53.55 kB / 1.353 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.496e-05/0.7932, allocations: 100 kB / 1.354 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.7932, allocations: 26.41 kB / 1.354 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.44e-05/0.7933, allocations: 85.45 kB / 1.354 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.7933, allocations: 11.14 kB / 1.354 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.7933, allocations: 0 / 1.354 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.762e-05/0.7933, allocations: 317.2 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.7933, allocations: 3.875 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.7934, allocations: 34.14 kB / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.7934, allocations: 11.31 kB / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.7934, allocations: 0 / 1.354 GB, free: 14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.99e-05/0.7935, allocations: 62.84 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.7935, allocations: 4.531 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7935, allocations: 1.594 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.7935, allocations: 1.812 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.203e-05/0.7936, allocations: 15.52 kB / 1.354 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7936, allocations: 1.625 kB / 1.354 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.7936, allocations: 5.281 kB / 1.354 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.7936, allocations: 3.75 kB / 1.354 GB, free: 13.95 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.226e-05/0.7937, allocations: 107.7 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.7937, allocations: 2.156 kB / 1.354 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.7937, allocations: 13.03 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.7937, allocations: 1.312 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.7938, allocations: 4 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7938, allocations: 2.594 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.526e-05/0.7938, allocations: 136.9 kB / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.7938, allocations: 0 / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.7939, allocations: 4.312 kB / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7939, allocations: 1 kB / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.7939, allocations: 0.9688 kB / 1.354 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7939, allocations: 3.938 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7939, allocations: 7.234 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.479e-05/0.794, allocations: 74.64 kB / 1.354 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.794, allocations: 85.7 kB / 1.354 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.794, allocations: 2.453 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.794, allocations: 4.688 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.7941, allocations: 2.203 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.7941, allocations: 1.531 kB / 1.355 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.158e-05/0.7941, allocations: 80.77 kB / 1.355 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002447/0.7944, allocations: 43.08 kB / 1.355 GB, free: 13.41 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.0003045/0.7947, allocations: 179.2 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.936e-05/0.7948, allocations: 26.12 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.7948, allocations: 0 / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-05/0.7948, allocations: 11.09 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.034e-05/0.7949, allocations: 1.062 kB / 1.355 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000175/0.7951, allocations: 83.36 kB / 1.355 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.7953, allocations: 0.6903 MB / 1.356 GB, free: 28.51 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.7953, allocations: 0 / 1.356 GB, free: 28.51 MB / 0.823 GB Notification: Performance of Templates: time 0.003703/0.799, allocations: 1.278 MB / 1.357 GB, free: 28.38 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y