Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") [: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.873/1.873, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001105/0.001105, allocations: 185.2 kB / 487 MB, free: 5.379 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.227/1.227, allocations: 221.3 MB / 0.7819 GB, free: 1.492 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.001021/0.001021, allocations: 104.9 kB / 0.9213 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.392e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2224, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5711/0.7935, allocations: 148.8 MB / 1.35 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.7938, allocations: 71.45 kB / 1.351 GB, free: 15.96 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.005603/0.7994, allocations: 1.987 MB / 1.352 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7994, allocations: 0 / 1.352 GB, free: 15.88 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.0002188/0.7996, allocations: 389.5 kB / 1.353 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.65e-05/0.7997, allocations: 8.953 kB / 1.353 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.7997, allocations: 6.656 kB / 1.353 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.234e-05/0.7998, allocations: 165.6 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.7998, allocations: 1.469 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.7998, allocations: 9.297 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.918e-05/0.7998, allocations: 8.391 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.712e-05/0.7999, allocations: 33.5 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.7999, allocations: 0.5156 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.7999, allocations: 5.359 kB / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.7999, allocations: 0 / 1.353 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.809e-05/0.8, allocations: 138.7 kB / 1.353 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.748e-05/0.8001, allocations: 29.55 kB / 1.353 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.8001, allocations: 10.84 kB / 1.353 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-06/0.8001, allocations: 5.25 kB / 1.353 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.8001, allocations: 57.33 kB / 1.353 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.8002, allocations: 1.281 kB / 1.353 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001031/0.8003, allocations: 51.48 kB / 1.353 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.773e-05/0.8003, allocations: 53.92 kB / 1.353 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.609e-05/0.8003, allocations: 96 kB / 1.354 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.605e-06/0.8003, allocations: 26.61 kB / 1.354 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.32e-05/0.8004, allocations: 81.64 kB / 1.354 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.8004, allocations: 14.28 kB / 1.354 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.8004, allocations: 0 / 1.354 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.8004, allocations: 313.8 kB / 1.354 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.8004, allocations: 11.72 kB / 1.354 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-05/0.8005, allocations: 28.81 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.14e-05/0.8005, allocations: 12.19 kB / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.8005, allocations: 0 / 1.354 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.214e-05/0.8006, allocations: 59.64 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/0.8006, allocations: 9.812 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.8006, allocations: 0.9375 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.8006, allocations: 1.562 kB / 1.354 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/0.8007, allocations: 14.84 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.357e-06/0.8007, allocations: 2.188 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.8007, allocations: 5.781 kB / 1.354 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.8007, allocations: 4.5 kB / 1.354 GB, free: 14.27 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 3.871e-05/0.8008, allocations: 108.2 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.8008, allocations: 1.844 kB / 1.354 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.8008, allocations: 12.61 kB / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.8008, allocations: 0 / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.8008, allocations: 2.156 kB / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8008, allocations: 0 / 1.354 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.673e-05/0.8009, allocations: 135.2 kB / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.8009, allocations: 0.6875 kB / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.118e-05/0.8009, allocations: 3.281 kB / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.8009, allocations: 0 / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.8009, allocations: 10.06 kB / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8009, allocations: 0 / 1.354 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.801, allocations: 13.19 kB / 1.354 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.107e-05/0.801, allocations: 72.72 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.8011, allocations: 86.67 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.8011, allocations: 1.859 kB / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.8011, allocations: 0 / 1.354 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.8011, allocations: 2.859 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.8011, allocations: 1.844 kB / 1.355 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.799e-05/0.8012, allocations: 83.95 kB / 1.355 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002313/0.8014, allocations: 47.16 kB / 1.355 GB, free: 13.72 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.0002763/0.8017, allocations: 170.8 kB / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.943e-05/0.8017, allocations: 24.95 kB / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.8018, allocations: 0 / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.384e-05/0.8018, allocations: 15.84 kB / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.543e-05/0.8019, allocations: 5.266 kB / 1.355 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001425/0.802, allocations: 77.11 kB / 1.355 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.8022, allocations: 0.6909 MB / 1.356 GB, free: 28.83 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.8022, allocations: 0 / 1.356 GB, free: 28.83 MB / 0.823 GB Notification: Performance of Templates: time 0.003113/0.8053, allocations: 1.278 MB / 1.357 GB, free: 28.7 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches