Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [: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.885/1.885, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009656/0.0009656, allocations: 188.5 kB / 487 MB, free: 5.316 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.374/1.374, allocations: 221.3 MB / 0.7819 GB, free: 1.242 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.0009154/0.0009154, allocations: 99.05 kB / 0.9213 GB, free: 2.473 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.492e-06, allocations: 0 / 1.066 GB, free: 186.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2174, allocations: 142.3 MB / 1.205 GB, free: 44.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5913/0.8088, allocations: 148.7 MB / 1.35 GB, free: 18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.809, allocations: 78.06 kB / 1.35 GB, free: 18 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12: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.005201/0.8142, allocations: 1.772 MB / 1.352 GB, free: 17.92 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.8143, allocations: 0.5 kB / 1.352 GB, free: 17.92 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.0003119/0.8146, allocations: 350.1 kB / 1.353 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.8146, allocations: 8.688 kB / 1.353 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.8147, allocations: 7.812 kB / 1.353 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.369e-05/0.8147, allocations: 160.7 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.8148, allocations: 3.984 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.8148, allocations: 5.297 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.503e-05/0.8148, allocations: 3.625 kB / 1.353 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.795e-05/0.8149, allocations: 46.81 kB / 1.353 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.8149, allocations: 0 / 1.353 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8149, allocations: 4.422 kB / 1.353 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.8149, allocations: 0 / 1.353 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.8151, allocations: 133.7 kB / 1.353 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.8151, allocations: 23.12 kB / 1.353 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.8152, allocations: 13 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.8152, allocations: 0.7969 kB / 1.353 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/0.8152, allocations: 55.38 kB / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.8152, allocations: 0 / 1.353 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001567/0.8154, allocations: 57.34 kB / 1.353 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.8155, allocations: 56.05 kB / 1.353 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.8155, allocations: 89.75 kB / 1.353 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.8155, allocations: 33.48 kB / 1.353 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.8156, allocations: 84.14 kB / 1.353 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.8156, allocations: 8.781 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.8156, allocations: 0 / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.8157, allocations: 316.1 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.8157, allocations: 7.75 kB / 1.354 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.562e-05/0.8158, allocations: 27.56 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.8158, allocations: 13.97 kB / 1.354 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8158, allocations: 3.906 kB / 1.354 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.853e-05/0.8159, allocations: 56.58 kB / 1.354 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.8159, allocations: 10.94 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8159, allocations: 4.438 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8159, allocations: 0 / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.789e-05/0.816, allocations: 8.875 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.816, allocations: 0.75 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.816, allocations: 8 kB / 1.354 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.816, allocations: 7.781 kB / 1.354 GB, free: 32.36 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.305e-05/0.8161, allocations: 109.6 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.8161, allocations: 0.5156 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.8162, allocations: 8.297 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.8162, allocations: 288 / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.8162, allocations: 0 / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8162, allocations: 4.406 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.8163, allocations: 139.4 kB / 1.354 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8163, allocations: 4 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.8163, allocations: 8.547 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.8164, allocations: 0 / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.8164, allocations: 0.7969 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.8164, allocations: 4.531 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.8164, allocations: 3.875 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.907e-05/0.8165, allocations: 65.44 kB / 1.354 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.8165, allocations: 85.53 kB / 1.354 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.8165, allocations: 4.703 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.8166, allocations: 4.672 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.624e-05/0.8166, allocations: 0.7969 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.8166, allocations: 8.609 kB / 1.354 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.361e-05/0.8166, allocations: 76.08 kB / 1.354 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002154/0.8168, allocations: 36.81 kB / 1.354 GB, free: 31.82 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.0002961/0.8171, allocations: 171.7 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.039e-05/0.8172, allocations: 21.39 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.8172, allocations: 3.875 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.8173, allocations: 14.62 kB / 1.354 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.11e-05/0.8174, allocations: 8.672 kB / 1.354 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001656/0.8175, allocations: 63.39 kB / 1.355 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.8177, allocations: 0.6881 MB / 1.355 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/0.8178, allocations: 4 kB / 1.355 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of Templates: time 0.003145/0.8209, allocations: 1.203 MB / 1.356 GB, free: 30.79 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y