Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001281/0.001281, allocations: 167 kB / 498.1 MB, free: 5.766 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.581/1.581, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009358/0.0009359, allocations: 96.28 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003885, allocations: 12.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3348, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2105/0.5453, allocations: 149.5 MB / 1.369 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.5456, allocations: 71.95 kB / 1.369 GB, free: 12.56 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.005965/0.5516, allocations: 2.103 MB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5516, allocations: 0 / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.5516, allocations: 4 kB / 1.371 GB, free: 10.45 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.0004186/0.5521, allocations: 355.2 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.5521, allocations: 8.031 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.5522, allocations: 7.953 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.5523, allocations: 163 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5524, allocations: 0 / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.5524, allocations: 12 kB / 1.371 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.5525, allocations: 37.67 kB / 1.372 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.5525, allocations: 0 / 1.372 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.5525, allocations: 0 / 1.372 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.85e-06/0.5526, allocations: 4 kB / 1.372 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.5526, allocations: 4 kB / 1.372 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.5528, allocations: 161.6 kB / 1.372 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.146e-05/0.5529, allocations: 34.55 kB / 1.372 GB, free: 9.531 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.5529, allocations: 4 kB / 1.372 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.553, allocations: 51.5 kB / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.553, allocations: 0 / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002104/0.5532, allocations: 69.61 kB / 1.372 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.5533, allocations: 55.41 kB / 1.372 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.5534, allocations: 92.98 kB / 1.372 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.5534, allocations: 29.7 kB / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.5535, allocations: 92.05 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.5535, allocations: 7.844 kB / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.5535, allocations: 0 / 1.372 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5537, allocations: 322.8 kB / 1.372 GB, free: 8.766 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.957e-05/0.5537, allocations: 7.984 kB / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.5537, allocations: 31.44 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.5538, allocations: 12.38 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5538, allocations: 3.984 kB / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001016/0.5539, allocations: 73.55 kB / 1.373 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5539, allocations: 4.625 kB / 1.373 GB, free: 8.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5539, allocations: 7.938 kB / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5539, allocations: 0 / 1.373 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.554, allocations: 8 kB / 1.373 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.554, allocations: 4.141 kB / 1.373 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.415e-05/0.5541, allocations: 4.094 kB / 1.373 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.5541, allocations: 4 kB / 1.373 GB, free: 8.59 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.000103/0.5542, allocations: 121.8 kB / 1.373 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.5542, allocations: 3.906 kB / 1.373 GB, free: 8.457 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.5542, allocations: 3.5 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.5542, allocations: 3.938 kB / 1.373 GB, free: 8.445 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5543, allocations: 4 kB / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.5543, allocations: 0 / 1.373 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.5544, allocations: 161.6 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5544, allocations: 4 kB / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.5544, allocations: 0 / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.5544, allocations: 0 / 1.373 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5545, allocations: 11.92 kB / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5545, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5545, allocations: 0 / 1.373 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.5546, allocations: 81.08 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.5547, allocations: 81.09 kB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.5547, allocations: 8 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.5547, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.5547, allocations: 4 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.5547, allocations: 4 kB / 1.373 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.99e-05/0.5548, allocations: 75.28 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5548, allocations: 3.938 kB / 1.373 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000265/0.5551, allocations: 43.98 kB / 1.373 GB, free: 7.887 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.0004192/0.5555, allocations: 184.6 kB / 1.373 GB, free: 7.715 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.042e-05/0.5556, allocations: 23.98 kB / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5556, allocations: 0 / 1.373 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/0.5556, allocations: 19.92 kB / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.5557, allocations: 5.891 kB / 1.373 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.5561, allocations: 120.8 kB / 1.373 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5563, allocations: 0.6809 MB / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.5564, allocations: 0 / 1.374 GB, free: 6.809 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.712e-05/0.5564, allocations: 11.44 kB / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/0.5564, allocations: 0 / 1.374 GB, free: 6.797 MB / 0.8698 GB Notification: Performance of Templates: time 0.003533/0.5599, allocations: 1.152 MB / 1.375 GB, free: 5.645 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","../files/Buildings_9_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