Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.198/1.198, allocations: 249.4 MB / 256.7 MB, free: 7.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 181 kB / 316 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 205.1 MB / 0.5667 GB, free: 15.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007897/0.0007897, allocations: 86.03 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.621e-06/5.661e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4073/0.5454, allocations: 132.2 MB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001759/0.5456, allocations: 69.64 kB / 1.014 GB, free: 6.117 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.005577/0.5512, allocations: 1.978 MB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.5512, allocations: 0 / 1.016 GB, free: 4.48 MB / 0.6355 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.0003037/0.5515, allocations: 387.4 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.5516, allocations: 8.031 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.5516, allocations: 0.75 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.5517, allocations: 174.9 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.5518, allocations: 3.375 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.5518, allocations: 8 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.241e-05/0.5518, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.092e-05/0.5519, allocations: 40.06 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5519, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.5519, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.5519, allocations: 0 / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.552, allocations: 137.4 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.707e-05/0.5521, allocations: 33.67 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.155e-05/0.5521, allocations: 16.11 kB / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-06/0.5521, allocations: 0 / 1.016 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.28e-05/0.5522, allocations: 51 kB / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.5522, allocations: 0 / 1.017 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000124/0.5523, allocations: 49.09 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.5524, allocations: 55.41 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.339e-05/0.5524, allocations: 98.5 kB / 1.017 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.5525, allocations: 33.62 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.5525, allocations: 84.14 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.5525, allocations: 7.219 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.5525, allocations: 0 / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.737e-05/0.5526, allocations: 310.8 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.5526, allocations: 7 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-05/0.5526, allocations: 39.61 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.993e-05/0.5527, allocations: 4 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5527, allocations: 0 / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.402e-05/0.5528, allocations: 65.16 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/0.5528, allocations: 4 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.5528, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.5528, allocations: 0 / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.5529, allocations: 22.58 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.5529, allocations: 0.6562 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.615e-05/0.5529, allocations: 11.84 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.5529, allocations: 160 / 1.017 GB, free: 2.691 MB / 0.6355 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 5.575e-05/0.553, allocations: 109 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.553, allocations: 7.844 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.553, allocations: 11.69 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.553, allocations: 256 / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.553, allocations: 7.922 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.553, allocations: 8.094 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.398e-05/0.5531, allocations: 130.2 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5531, allocations: 3.984 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.5532, allocations: 4 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5532, allocations: 3.906 kB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.5532, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.5532, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5532, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.386e-05/0.5533, allocations: 87.45 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.568e-05/0.5533, allocations: 77.11 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.5533, allocations: 0 / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.228e-05/0.5533, allocations: 4 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.5534, allocations: 0 / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.5534, allocations: 3.906 kB / 1.018 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.049e-05/0.5534, allocations: 86.08 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002213/0.5536, allocations: 47.31 kB / 1.018 GB, free: 2.043 MB / 0.6355 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.0002724/0.5539, allocations: 168.7 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.094e-05/0.554, allocations: 25.81 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.554, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.36e-05/0.554, allocations: 15.92 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.72e-05/0.5541, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.5543, allocations: 83.27 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.5545, allocations: 0.6876 MB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/0.5545, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of Templates: time 0.002845/0.5574, allocations: 1.285 MB / 1.02 GB, free: 15.76 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches