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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001104/0.001104, allocations: 186.8 kB / 498.1 MB, free: 5.742 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.668/1.668, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.00101/0.00101, allocations: 99.89 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.000416, allocations: 12.23 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3475, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.544, allocations: 149.6 MB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5444, allocations: 79.94 kB / 1.369 GB, free: 12.48 MB / 0.8698 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 - DAE generated: time 0.007022/0.5514, allocations: 2.318 MB / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5514, allocations: 0 / 1.371 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.5515, allocations: 4 kB / 1.371 GB, free: 10.15 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.0005285/0.552, allocations: 384.9 kB / 1.372 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.5521, allocations: 15.97 kB / 1.372 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.5521, allocations: 3.953 kB / 1.372 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.5523, allocations: 174.9 kB / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.5523, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.5523, allocations: 0 / 1.372 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5524, allocations: 41.69 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.5525, allocations: 4 kB / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5525, allocations: 0 / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5525, allocations: 0 / 1.372 GB, free: 9.441 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.5525, allocations: 7.984 kB / 1.372 GB, free: 9.434 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000195/0.5527, allocations: 165.5 kB / 1.372 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.36e-05/0.5528, allocations: 34.55 kB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.5528, allocations: 0 / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.553, allocations: 55.5 kB / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.553, allocations: 0 / 1.372 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.000234/0.5532, allocations: 73.61 kB / 1.372 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.5533, allocations: 51.41 kB / 1.372 GB, free: 8.973 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.889e-05/0.5534, allocations: 101 kB / 1.372 GB, free: 8.867 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.5534, allocations: 25.7 kB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.5535, allocations: 84.14 kB / 1.372 GB, free: 8.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.5535, allocations: 11.91 kB / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5535, allocations: 0 / 1.372 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5537, allocations: 322.8 kB / 1.373 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.118e-05/0.5537, allocations: 4 kB / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.5538, allocations: 35.42 kB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.5538, allocations: 11.98 kB / 1.373 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5538, allocations: 8 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001092/0.5539, allocations: 69.47 kB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5539, allocations: 9.25 kB / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.554, allocations: 0 / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.554, allocations: 0 / 1.373 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.554, allocations: 8 kB / 1.373 GB, free: 8.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5541, allocations: 3.984 kB / 1.373 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.846e-05/0.5541, allocations: 4.25 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.5541, allocations: 0 / 1.373 GB, free: 8.246 MB / 0.8698 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 0.0001081/0.5542, allocations: 125.9 kB / 1.373 GB, free: 8.113 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.5542, allocations: 8.078 kB / 1.373 GB, free: 8.105 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.5543, allocations: 11.84 kB / 1.373 GB, free: 8.086 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5543, allocations: 3.984 kB / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5543, allocations: 0 / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5543, allocations: 0 / 1.373 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.5545, allocations: 165.6 kB / 1.373 GB, free: 7.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5545, allocations: 3.938 kB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.451e-05/0.5545, allocations: 4 kB / 1.373 GB, free: 7.863 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5545, allocations: 4 kB / 1.373 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5545, allocations: 0 / 1.373 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5545, allocations: 0 / 1.373 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5545, allocations: 4 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.5547, allocations: 85.06 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.5548, allocations: 77.11 kB / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.5548, allocations: 8 kB / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.892e-05/0.5548, allocations: 0 / 1.373 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.5548, allocations: 7.984 kB / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.5549, allocations: 0 / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.339e-05/0.5549, allocations: 87.22 kB / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5549, allocations: 0 / 1.373 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003085/0.5552, allocations: 51.86 kB / 1.374 GB, free: 7.508 MB / 0.8698 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.0004525/0.5557, allocations: 169.9 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.5558, allocations: 27.92 kB / 1.374 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5558, allocations: 0 / 1.374 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.5559, allocations: 8 kB / 1.374 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.556, allocations: 15.94 kB / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.5563, allocations: 127.5 kB / 1.374 GB, free: 7.141 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.5566, allocations: 0.6891 MB / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.5566, allocations: 0 / 1.375 GB, free: 6.426 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.253e-05/0.5567, allocations: 11.44 kB / 1.375 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of SimCode: time 3e-07/0.5567, allocations: 0 / 1.375 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of Templates: time 0.003989/0.5607, allocations: 1.238 MB / 1.376 GB, free: 5.176 MB / 0.8698 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) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y