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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001617/0.001617, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002082/0.002082, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 71.88 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7263, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002191/0.7285, allocations: 1.224 MB / 0.9508 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008023/0.7293, allocations: 448.3 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.914e-05/0.7294, allocations: 0 / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.7294, allocations: 0 / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.7295, allocations: 5.375 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.73, allocations: 114 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.211e-05/0.7301, allocations: 13.44 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.7302, allocations: 6.109 kB / 0.9513 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.178e-05/0.7302, allocations: 16.52 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.747e-05/0.7302, allocations: 6.672 kB / 0.9513 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.7302, allocations: 5.656 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002118/0.7305, allocations: 112 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.7305, allocations: 6.703 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.7305, allocations: 10.84 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.7307, allocations: 100 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7307, allocations: 0 / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7307, allocations: 0 / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.7307, allocations: 0 / 0.9516 GB, free: 7.602 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.0004121/0.7312, allocations: 387 kB / 0.9519 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.7312, allocations: 13.78 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.7312, allocations: 6.031 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.904e-05/0.7313, allocations: 170.5 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.7314, allocations: 5.469 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.7314, allocations: 2.406 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.981e-05/0.7315, allocations: 40.05 kB / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.7315, allocations: 192 / 0.9522 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.7315, allocations: 4.938 kB / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7315, allocations: 0 / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.7315, allocations: 4.438 kB / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.7317, allocations: 166 kB / 0.9523 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.7317, allocations: 29.91 kB / 0.9524 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.7318, allocations: 18.7 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.7318, allocations: 96 / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.7319, allocations: 57.14 kB / 0.9524 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.732, allocations: 4 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001998/0.7322, allocations: 78.83 kB / 0.9525 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.7322, allocations: 52.53 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.329e-05/0.7322, allocations: 104.7 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.7323, allocations: 26.98 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.304e-05/0.7323, allocations: 85.52 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.7323, allocations: 9.453 kB / 0.9528 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.7324, allocations: 23.05 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.793e-05/0.7324, allocations: 320.4 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.7324, allocations: 4.125 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.892e-05/0.7325, allocations: 35.02 kB / 0.9531 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.019e-05/0.7325, allocations: 48.44 kB / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7325, allocations: 0 / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.316e-05/0.7326, allocations: 69.86 kB / 0.9533 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.7326, allocations: 8 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7326, allocations: 1.375 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.7327, allocations: 2.438 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.7327, allocations: 13.81 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.7327, allocations: 1 kB / 0.9533 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.707e-05/0.7328, allocations: 9.938 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.7328, allocations: 6.281 kB / 0.9533 GB, free: 5.758 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.391e-05/0.7329, allocations: 113.1 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.7329, allocations: 9.578 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.7329, allocations: 5.469 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7329, allocations: 0 / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7329, allocations: 1.562 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7329, allocations: 0 / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.259e-05/0.733, allocations: 158.9 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.733, allocations: 0 / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.733, allocations: 1.375 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.733, allocations: 9.25 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.7331, allocations: 3.984 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7331, allocations: 9.438 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7331, allocations: 0 / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.7332, allocations: 82.56 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.7332, allocations: 82.69 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.7332, allocations: 9.094 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.7333, allocations: 4 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.7333, allocations: 5.547 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.7333, allocations: 3.031 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.565e-05/0.7333, allocations: 83.23 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7333, allocations: 0 / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002575/0.7336, allocations: 31.81 kB / 0.9539 GB, free: 5.125 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.0003079/0.7339, allocations: 166.9 kB / 0.954 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.734, allocations: 38.02 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.734, allocations: 0 / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.7341, allocations: 12.69 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/0.7342, allocations: 5.281 kB / 0.9541 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.7345, allocations: 105 kB / 0.9542 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.21e-05/0.7346, allocations: 0.6872 MB / 0.9549 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.198e-05/0.7346, allocations: 5.422 kB / 0.9549 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/0.7346, allocations: 9.938 kB / 0.9549 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7346, allocations: 0 / 0.9549 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.003316/0.7379, allocations: 1.089 MB / 0.9559 GB, free: 3.586 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches