Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.207/1.207, allocations: 249.4 MB / 256.7 MB, free: 6.949 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.0009733/0.0009731, allocations: 177.2 kB / 316 MB, free: 3.562 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.06/1.06, allocations: 205.1 MB / 0.5667 GB, free: 15.74 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.000812/0.000812, allocations: 96.02 kB / 0.671 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.26e-06/5.28e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 106.3 MB / 0.8845 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4044/0.5434, allocations: 132.2 MB / 1.014 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.5436, allocations: 75.5 kB / 1.014 GB, free: 6.449 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.005651/0.5492, allocations: 1.982 MB / 1.016 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5492, allocations: 0.75 kB / 1.016 GB, free: 4.816 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.0003109/0.5496, allocations: 379.4 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.5496, allocations: 8.031 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/0.5496, allocations: 0 / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.5497, allocations: 178.9 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.5498, allocations: 0 / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.5498, allocations: 4 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.165e-05/0.5498, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.952e-05/0.5499, allocations: 53 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.5499, allocations: 0 / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.5499, allocations: 0 / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5499, allocations: 0 / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.55, allocations: 138.1 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.5501, allocations: 26.61 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.5501, allocations: 12.55 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.5501, allocations: 4 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/0.5502, allocations: 51.19 kB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5502, allocations: 0 / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001315/0.5504, allocations: 52.34 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.5504, allocations: 55.41 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/0.5504, allocations: 95.31 kB / 1.017 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.5505, allocations: 29.69 kB / 1.017 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.5505, allocations: 84.14 kB / 1.017 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.5505, allocations: 11.16 kB / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.5505, allocations: 0 / 1.017 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.5506, allocations: 310.8 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.5506, allocations: 7.875 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.5507, allocations: 34.73 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.07e-05/0.5507, allocations: 8 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5507, allocations: 0 / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.765e-05/0.5508, allocations: 65.03 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.5508, allocations: 4 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5508, allocations: 3.938 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.5508, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.835e-05/0.5509, allocations: 11.98 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.5509, allocations: 0 / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.5509, allocations: 15.94 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.5509, allocations: 3.125 kB / 1.017 GB, free: 3.023 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.609e-05/0.551, allocations: 105 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.551, allocations: 7.938 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.5511, allocations: 11.98 kB / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.5511, allocations: 0 / 1.017 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5511, allocations: 6.734 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.5511, allocations: 0 / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.5512, allocations: 133.5 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5512, allocations: 4 kB / 1.018 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.5512, allocations: 7.938 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5512, allocations: 3.906 kB / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-06/0.5512, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.5512, allocations: 0 / 1.018 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5512, allocations: 3.938 kB / 1.018 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.906e-05/0.5513, allocations: 79.52 kB / 1.018 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.5514, allocations: 77.11 kB / 1.018 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.5514, allocations: 4 kB / 1.018 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.5514, allocations: 4 kB / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.5514, allocations: 0 / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.5514, allocations: 3.906 kB / 1.018 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.154e-05/0.5515, allocations: 86.27 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002259/0.5517, allocations: 47.5 kB / 1.018 GB, free: 2.383 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.0002865/0.552, allocations: 178.6 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.931e-05/0.5521, allocations: 19.31 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.5521, allocations: 0 / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/0.5521, allocations: 15.38 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.725e-05/0.5522, allocations: 3.938 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.5524, allocations: 82.31 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.5526, allocations: 0.6917 MB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.5526, allocations: 0 / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of Templates: time 0.002913/0.5555, allocations: 1.272 MB / 1.02 GB, free: 100 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","../files/Buildings_maint.7.0.x_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