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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 249.3 MB / 261.8 MB, free: 5.844 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.001055/0.001056, allocations: 192.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009773/0.0009775, allocations: 101.4 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.517e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2332, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.769/1.002, allocations: 131.9 MB / 1.021 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/1.002, allocations: 67.66 kB / 1.021 GB, free: 2.805 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 - DAE generated: time 0.006091/1.009, allocations: 2.295 MB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.92e-07/1.009, allocations: 0 / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.889e-06/1.009, allocations: 0 / 1.023 GB, free: 0.8242 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.0003177/1.009, allocations: 383.7 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/1.009, allocations: 12.03 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.36e-05/1.009, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/1.009, allocations: 170.9 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/1.009, allocations: 1 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/1.009, allocations: 0 / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.816e-05/1.009, allocations: 48.98 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.578e-06/1.009, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/1.009, allocations: 0 / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/1.009, allocations: 4 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/1.009, allocations: 4 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/1.009, allocations: 157.6 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/1.01, allocations: 29.25 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.762e-05/1.01, allocations: 20.09 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/1.01, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/1.01, allocations: 66.89 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/1.01, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.000138/1.01, allocations: 55.75 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.01, allocations: 59.39 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.46e-05/1.01, allocations: 97.31 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/1.01, allocations: 29.7 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/1.01, allocations: 83.58 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/1.01, allocations: 7.906 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/1.01, allocations: 4 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.01, allocations: 322.2 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/1.01, allocations: 7.562 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.775e-05/1.01, allocations: 31.38 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/1.01, allocations: 23.39 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.01, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001001/1.01, allocations: 68.28 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.01, allocations: 4 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/1.01, allocations: 1.5 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.011, allocations: 4 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/1.011, allocations: 11.88 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/1.011, allocations: 7.984 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/1.011, allocations: 3.938 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/1.011, allocations: 8.094 kB / 1.025 GB, free: 14.96 MB / 0.6511 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 7.991e-05/1.011, allocations: 108.5 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.169e-05/1.011, allocations: 7.906 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/1.011, allocations: 4.031 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/1.011, allocations: 0 / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.011, allocations: 0 / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/1.011, allocations: 0 / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/1.011, allocations: 165 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.011, allocations: 256 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/1.011, allocations: 8 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/1.011, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/1.011, allocations: 7.625 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/1.011, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/1.011, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/1.011, allocations: 87.69 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/1.011, allocations: 85.02 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/1.011, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/1.011, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/1.011, allocations: 8 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/1.011, allocations: 3.984 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.319e-05/1.011, allocations: 82.84 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.011, allocations: 3.938 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002328/1.012, allocations: 47.17 kB / 1.025 GB, free: 14.28 MB / 0.6511 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.0003413/1.012, allocations: 169 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.52e-05/1.012, allocations: 30.75 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/1.012, allocations: 3.938 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/1.012, allocations: 15.92 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.514e-05/1.012, allocations: 7.5 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/1.012, allocations: 68.67 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/1.013, allocations: 0.6809 MB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.886e-05/1.013, allocations: 8.188 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/1.013, allocations: 7.438 kB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.013, allocations: 0 / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of Templates: time 0.003303/1.016, allocations: 1.266 MB / 1.027 GB, free: 12.01 MB / 0.6511 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