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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007051/0.007051, allocations: 101.2 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 193.5 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 63.89 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6599/0.6613, allocations: 140.4 MB / 0.9496 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002744/0.6641, allocations: 1.288 MB / 0.9508 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.665, allocations: 458.2 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.6651, allocations: 0 / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.6652, allocations: 0 / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.129e-05/0.6652, allocations: 5.312 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.6658, allocations: 96.64 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.666e-05/0.6658, allocations: 17.56 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.6659, allocations: 1.375 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.6659, allocations: 12.05 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.096e-05/0.666, allocations: 14.67 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.666, allocations: 1.375 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002404/0.6662, allocations: 99.97 kB / 0.9515 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.162e-05/0.6663, allocations: 5.359 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.6663, allocations: 14.67 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.6665, allocations: 66.16 kB / 0.9516 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6665, allocations: 4 kB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6665, allocations: 3.938 kB / 0.9516 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6665, allocations: 0 / 0.9516 GB, free: 7.617 MB / 0.7169 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.00045/0.667, allocations: 381.6 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.667, allocations: 9.312 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.6671, allocations: 11.2 kB / 0.952 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.741e-05/0.6672, allocations: 169.5 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.6672, allocations: 1.969 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.6672, allocations: 2.938 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.6673, allocations: 44.22 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6673, allocations: 192 / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6673, allocations: 3.938 kB / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6674, allocations: 0 / 0.9522 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.397e-05/0.6674, allocations: 7.734 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.6675, allocations: 155.1 kB / 0.9523 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.602e-05/0.6676, allocations: 34.58 kB / 0.9524 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.6677, allocations: 17.77 kB / 0.9524 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.6677, allocations: 0 / 0.9524 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.6679, allocations: 57.33 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.6679, allocations: 0 / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.6681, allocations: 71.25 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.6681, allocations: 59.33 kB / 0.9526 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.69e-05/0.6682, allocations: 105.3 kB / 0.9527 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.6682, allocations: 26.86 kB / 0.9527 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.6683, allocations: 93.17 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.6683, allocations: 5.938 kB / 0.9528 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.6683, allocations: 20.28 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.6684, allocations: 318.8 kB / 0.9531 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.6684, allocations: 9.094 kB / 0.9531 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.6684, allocations: 38.64 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.254e-05/0.6685, allocations: 48.27 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6685, allocations: 5.281 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.095e-05/0.6686, allocations: 64.25 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.6686, allocations: 11.25 kB / 0.9533 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.6686, allocations: 5.438 kB / 0.9533 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6687, allocations: 5.25 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.6687, allocations: 14.55 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.6687, allocations: 0.8438 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/0.6688, allocations: 5.344 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.6688, allocations: 2.281 kB / 0.9533 GB, free: 5.777 MB / 0.7169 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.6689, allocations: 113.1 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.6689, allocations: 5.438 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.6689, allocations: 9.312 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.6689, allocations: 1.375 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6689, allocations: 0 / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6689, allocations: 3.984 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.782e-05/0.669, allocations: 159.2 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.669, allocations: 0 / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.669, allocations: 1.406 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.669, allocations: 5.312 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6691, allocations: 0 / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.6691, allocations: 1.281 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6691, allocations: 0 / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.6692, allocations: 95.05 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.6692, allocations: 78.3 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.6692, allocations: 5.312 kB / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.6693, allocations: 0 / 0.9538 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.6693, allocations: 6.516 kB / 0.9538 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.6693, allocations: 5.188 kB / 0.9538 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.688e-05/0.6693, allocations: 80.06 kB / 0.9539 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6694, allocations: 4 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002987/0.6697, allocations: 39.45 kB / 0.9539 GB, free: 5.145 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003678/0.67, allocations: 161.7 kB / 0.9541 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.6702, allocations: 29.77 kB / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6702, allocations: 0 / 0.9541 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.217e-05/0.6702, allocations: 16.66 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.6704, allocations: 9.766 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.6707, allocations: 143.1 kB / 0.9542 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.6708, allocations: 0.6837 MB / 0.9549 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.6708, allocations: 9.031 kB / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/0.6708, allocations: 0 / 0.9549 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of Templates: time 0.003586/0.6744, allocations: 1.242 MB / 0.9561 GB, free: 3.508 MB / 0.7169 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches