Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.36/2.36, allocations: 390.5 MB / 398 MB, free: 10.97 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.0009803/0.0009804, allocations: 179 kB / 491.2 MB, free: 1.613 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.58/1.58, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008446/0.0008445, allocations: 99.84 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.758e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3475, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.388, allocations: 149.5 MB / 1.358 GB, free: 17.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.388, allocations: 70.48 kB / 1.358 GB, free: 17.66 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Occupants/BaseClasses/weibullVariableGeneration.mo:12:5-12:98: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.006289/1.395, allocations: 2.088 MB / 1.36 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.873e-06/1.395, allocations: 3.938 kB / 1.36 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.065e-06/1.395, allocations: 0 / 1.36 GB, free: 33.27 MB / 0.8386 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.0003716/1.395, allocations: 351.7 kB / 1.361 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.395, allocations: 7.688 kB / 1.361 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/1.395, allocations: 8.5 kB / 1.361 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/1.395, allocations: 160.9 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/1.395, allocations: 0 / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/1.395, allocations: 4.859 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.027e-05/1.396, allocations: 3.969 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.629e-05/1.396, allocations: 37.64 kB / 1.361 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.396, allocations: 0 / 1.361 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/1.396, allocations: 2 kB / 1.361 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.396, allocations: 4.938 kB / 1.361 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001618/1.396, allocations: 142.6 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.992e-05/1.396, allocations: 28.67 kB / 1.361 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.134e-05/1.396, allocations: 13.03 kB / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/1.396, allocations: 0 / 1.361 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001134/1.396, allocations: 55.84 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/1.396, allocations: 0 / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002304/1.396, allocations: 53.69 kB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/1.396, allocations: 55.58 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/1.396, allocations: 94 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/1.397, allocations: 33.58 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/1.397, allocations: 88.69 kB / 1.362 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/1.397, allocations: 4.703 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-06/1.397, allocations: 0 / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.397, allocations: 320.3 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/1.397, allocations: 6.906 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/1.397, allocations: 36 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/1.397, allocations: 5.891 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.397, allocations: 3.656 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.396e-05/1.397, allocations: 65.56 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/1.397, allocations: 3.812 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/1.397, allocations: 0.6562 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/1.397, allocations: 3.875 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.901e-05/1.397, allocations: 16.19 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.397, allocations: 0.5625 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/1.397, allocations: 0 / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.397, allocations: 4.391 kB / 1.362 GB, free: 31.7 MB / 0.8386 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.347e-05/1.397, allocations: 113.7 kB / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-06/1.397, allocations: 3.969 kB / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/1.397, allocations: 5.344 kB / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/1.397, allocations: 0 / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.397, allocations: 0 / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/1.397, allocations: 4.5 kB / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/1.397, allocations: 139.2 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.397, allocations: 0 / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/1.397, allocations: 8.812 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.397, allocations: 0 / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/1.397, allocations: 5.031 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.397, allocations: 0 / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.397, allocations: 0 / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/1.398, allocations: 89.05 kB / 1.362 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/1.398, allocations: 78.23 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/1.398, allocations: 3.953 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.922e-05/1.398, allocations: 2.953 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/1.398, allocations: 7.312 kB / 1.362 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/1.398, allocations: 4 kB / 1.362 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.27e-05/1.398, allocations: 79.16 kB / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.398, allocations: 0 / 1.363 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002644/1.398, allocations: 37.92 kB / 1.363 GB, free: 31.15 MB / 0.8386 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.0004173/1.398, allocations: 174.2 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.556e-05/1.399, allocations: 26.84 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.399, allocations: 0 / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.573e-05/1.399, allocations: 11.28 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/1.399, allocations: 8.375 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002156/1.399, allocations: 66.09 kB / 1.363 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/1.399, allocations: 0.6814 MB / 1.363 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.973e-05/1.399, allocations: 8.125 kB / 1.363 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/1.399, allocations: 15.28 kB / 1.364 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.399, allocations: 0 / 1.364 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.003583/1.403, allocations: 1.151 MB / 1.365 GB, free: 30.12 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y