Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.298/2.298, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.0009701/0.0009702, allocations: 176 kB / 0.4902 GB, free: 2.309 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.704/1.704, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0009238/0.0009238, allocations: 100.2 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 7.844 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3315, allocations: 143 MB / 1.229 GB, free: 85.51 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2045/0.5361, allocations: 150.4 MB / 1.376 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5364, allocations: 67.97 kB / 1.376 GB, free: 14.88 MB / 0.8855 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.006614/0.543, allocations: 2.332 MB / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.963e-06/0.543, allocations: 0 / 1.378 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.543, allocations: 0 / 1.378 GB, free: 12.54 MB / 0.8855 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.0004019/0.5434, allocations: 390.3 kB / 1.379 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.5435, allocations: 8.031 kB / 1.379 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.5435, allocations: 7.953 kB / 1.379 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5437, allocations: 163 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.5437, allocations: 4 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.5437, allocations: 8 kB / 1.379 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.5439, allocations: 41.67 kB / 1.379 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5439, allocations: 0 / 1.379 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5439, allocations: 0 / 1.379 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5439, allocations: 0 / 1.379 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.409e-05/0.5439, allocations: 4 kB / 1.379 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.5441, allocations: 165.6 kB / 1.379 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.5442, allocations: 30.52 kB / 1.379 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.5442, allocations: 7.984 kB / 1.379 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.5443, allocations: 59.39 kB / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/0.5444, allocations: 0 / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002066/0.5446, allocations: 69.56 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.5446, allocations: 59.39 kB / 1.379 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.618e-05/0.5447, allocations: 93 kB / 1.379 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5447, allocations: 29.7 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.238e-05/0.5448, allocations: 88.14 kB / 1.38 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.5448, allocations: 7.891 kB / 1.38 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.5448, allocations: 4 kB / 1.38 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5449, allocations: 318.8 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.545, allocations: 8 kB / 1.38 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.545, allocations: 31.42 kB / 1.38 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.545, allocations: 12 kB / 1.38 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.5451, allocations: 0 / 1.38 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001064/0.5452, allocations: 73.47 kB / 1.38 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5452, allocations: 7.984 kB / 1.38 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5452, allocations: 4 kB / 1.38 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.5452, allocations: 0 / 1.38 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.746e-05/0.5453, allocations: 8 kB / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.5453, allocations: 352 / 1.38 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.5453, allocations: 8 kB / 1.38 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.5453, allocations: 8 kB / 1.38 GB, free: 10.62 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 8.848e-05/0.5454, allocations: 118.5 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-06/0.5454, allocations: 0 / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.5455, allocations: 11.89 kB / 1.38 GB, free: 10.49 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5455, allocations: 4 kB / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5455, allocations: 0 / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5455, allocations: 0 / 1.38 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.5456, allocations: 157.5 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.5456, allocations: 4 kB / 1.38 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.5457, allocations: 8 kB / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.5457, allocations: 0 / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.5457, allocations: 0 / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.5457, allocations: 3.984 kB / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.5457, allocations: 0 / 1.38 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.5458, allocations: 85.08 kB / 1.38 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.966e-05/0.5459, allocations: 84.98 kB / 1.38 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.5459, allocations: 11.92 kB / 1.38 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.024e-05/0.5459, allocations: 96 / 1.38 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.546, allocations: 4 kB / 1.38 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.546, allocations: 3.938 kB / 1.381 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.546, allocations: 87.27 kB / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.546, allocations: 0 / 1.381 GB, free: 9.957 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002512/0.5463, allocations: 47.98 kB / 1.381 GB, free: 9.91 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.0003841/0.5467, allocations: 179.1 kB / 1.381 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.5468, allocations: 27.92 kB / 1.381 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5468, allocations: 0 / 1.381 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.578e-05/0.5469, allocations: 12 kB / 1.381 GB, free: 9.699 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.384e-05/0.547, allocations: 7.891 kB / 1.381 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002785/0.5473, allocations: 128.8 kB / 1.381 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.5475, allocations: 0.6848 MB / 1.382 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.5475, allocations: 4 kB / 1.382 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.5476, allocations: 7.438 kB / 1.382 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of SimCode: time 2.5e-07/0.5476, allocations: 0 / 1.382 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of Templates: time 0.003417/0.551, allocations: 1.249 MB / 1.383 GB, free: 7.566 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","../files/Buildings_latest_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