Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.532/2.532, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001041/0.001041, allocations: 172 kB / 0.4902 GB, free: 2.238 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.525/1.525, allocations: 223.1 MB / 0.7992 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 104.1 kB / 0.9396 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 13.88 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3296, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1988/0.5285, allocations: 150.4 MB / 1.376 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5288, allocations: 75.95 kB / 1.376 GB, free: 3.027 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 - DAE generated: time 0.006977/0.5358, allocations: 2.313 MB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5358, allocations: 4 kB / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5358, allocations: 0 / 1.378 GB, free: 0.707 MB / 0.8698 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.000448/0.5363, allocations: 394.4 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.5364, allocations: 8.031 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.5364, allocations: 7.953 kB / 1.379 GB, free: 260 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.5366, allocations: 163.1 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.5366, allocations: 0 / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.5366, allocations: 4 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.5367, allocations: 37.69 kB / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5368, allocations: 0 / 1.379 GB, free: 8 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.5368, allocations: 3.984 kB / 1.379 GB, free: 4 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.5368, allocations: 4 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.517e-05/0.5369, allocations: 4.047 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.5371, allocations: 161.6 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 9.954e-05/0.5372, allocations: 34.61 kB / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.717e-06/0.5372, allocations: 0 / 1.379 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.5373, allocations: 51.5 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 4.579e-06/0.5373, allocations: 3.984 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002237/0.5376, allocations: 77.34 kB / 1.379 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.5376, allocations: 63.34 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.5377, allocations: 101 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.5378, allocations: 25.7 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.5378, allocations: 88.14 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.5378, allocations: 11.83 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.5379, allocations: 0 / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.538, allocations: 326.8 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.538, allocations: 4 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.5381, allocations: 35.42 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.5381, allocations: 15.94 kB / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5381, allocations: 0 / 1.38 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001018/0.5383, allocations: 69.53 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5383, allocations: 4 kB / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5383, allocations: 0 / 1.38 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.5383, allocations: 8.094 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.5384, allocations: 7.984 kB / 1.38 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.5384, allocations: 7.938 kB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.408e-05/0.5384, allocations: 0 / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.5385, allocations: 4 kB / 1.38 GB, free: 14.79 MB / 0.8855 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 () * Number of clocked 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 9.381e-05/0.5386, allocations: 118.6 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.385e-06/0.5386, allocations: 0 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.5386, allocations: 3.906 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5386, allocations: 0 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.5386, allocations: 11.98 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5386, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.5388, allocations: 157.6 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.5388, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.023e-05/0.5388, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5388, allocations: 4 kB / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.5389, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.5389, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5389, allocations: 0 / 1.38 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.539, allocations: 100.9 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.5391, allocations: 85.05 kB / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5391, allocations: 0 / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.5391, allocations: 0 / 1.38 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.878e-05/0.5392, allocations: 7.984 kB / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.5392, allocations: 0 / 1.38 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.739e-05/0.5393, allocations: 87.53 kB / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5393, allocations: 0 / 1.381 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002786/0.5395, allocations: 43.92 kB / 1.381 GB, free: 14.08 MB / 0.8855 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 () * Number of clocked 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.0004036/0.54, allocations: 184.2 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.5401, allocations: 31.92 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5401, allocations: 0 / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.5401, allocations: 15.98 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.179e-05/0.5402, allocations: 4.141 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.5405, allocations: 124.6 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.5408, allocations: 0.6809 MB / 1.382 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.138e-05/0.5409, allocations: 11.92 kB / 1.382 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.5409, allocations: 7.438 kB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.5409, allocations: 0 / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of Templates: time 0.003595/0.5445, allocations: 1.233 MB / 1.383 GB, free: 11.75 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DOFF.csv","../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.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