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.001154/0.001154, allocations: 106.8 kB / 15.99 MB, free: 5.891 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.001224/0.001224, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.6 MB, free: 4.512 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.378/2.378, allocations: 390.2 MB / 0.665 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 0.8127 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.639/0.6404, allocations: 140.4 MB / 0.9498 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.001986/0.6425, allocations: 1.276 MB / 0.951 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006811/0.6431, allocations: 446 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.974e-05/0.6432, allocations: 0 / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.6432, allocations: 7.938 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.6433, allocations: 1.375 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.6437, allocations: 98.14 kB / 0.9515 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.873e-05/0.6438, allocations: 17.56 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.6438, allocations: 6.734 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.6438, allocations: 12.05 kB / 0.9516 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.731e-05/0.6439, allocations: 14.67 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.6439, allocations: 1.375 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.6441, allocations: 100 kB / 0.9517 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.6441, allocations: 9.453 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.6441, allocations: 11.81 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.6443, allocations: 74.59 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6443, allocations: 0 / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6443, allocations: 0 / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.6443, allocations: 0 / 0.9518 GB, free: 7.574 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.0003517/0.6446, allocations: 380.5 kB / 0.9521 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.6447, allocations: 10.28 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.6447, allocations: 9.75 kB / 0.9522 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.942e-05/0.6448, allocations: 170.2 kB / 0.9523 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.6448, allocations: 9.562 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.6448, allocations: 2.469 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.805e-05/0.6449, allocations: 36.28 kB / 0.9524 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6449, allocations: 4.172 kB / 0.9524 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.645, allocations: 5.25 kB / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.645, allocations: 0 / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.148e-05/0.645, allocations: 12.31 kB / 0.9524 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.901e-05/0.6451, allocations: 154.1 kB / 0.9525 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.067e-05/0.6452, allocations: 38.81 kB / 0.9526 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.829e-05/0.6452, allocations: 10.11 kB / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.6452, allocations: 0 / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.6454, allocations: 57.08 kB / 0.9526 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.6454, allocations: 0 / 0.9526 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001859/0.6456, allocations: 77.95 kB / 0.9527 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.6456, allocations: 56.75 kB / 0.9528 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.6457, allocations: 105.4 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.6457, allocations: 30.98 kB / 0.9529 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.091e-05/0.6457, allocations: 85.52 kB / 0.953 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.6457, allocations: 5.375 kB / 0.953 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.6458, allocations: 19.28 kB / 0.953 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.6458, allocations: 319.9 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.6458, allocations: 4.562 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.6459, allocations: 41.81 kB / 0.9534 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.6459, allocations: 45.06 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6459, allocations: 0 / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.984e-05/0.646, allocations: 72.84 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.646, allocations: 10.72 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.6461, allocations: 1.156 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.6461, allocations: 6.672 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.018e-05/0.6461, allocations: 5.094 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.6461, allocations: 2.344 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.623e-05/0.6462, allocations: 5.188 kB / 0.9535 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.6462, allocations: 2.562 kB / 0.9535 GB, free: 5.742 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.018e-05/0.6462, allocations: 120.6 kB / 0.9536 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.6463, allocations: 9.219 kB / 0.9536 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.009e-05/0.6463, allocations: 9.266 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6463, allocations: 1.25 kB / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.6463, allocations: 0 / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.6463, allocations: 0 / 0.9536 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.746e-05/0.6464, allocations: 163.7 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6464, allocations: 0 / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.6464, allocations: 1.344 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.6464, allocations: 5.656 kB / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.6464, allocations: 0 / 0.9538 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.6464, allocations: 9.312 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6464, allocations: 0 / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.6466, allocations: 90.48 kB / 0.9539 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.6466, allocations: 78.8 kB / 0.954 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.6466, allocations: 9.297 kB / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.6466, allocations: 0 / 0.954 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.6467, allocations: 6.344 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.6467, allocations: 5.203 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.511e-05/0.6467, allocations: 91.7 kB / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6467, allocations: 0 / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002504/0.647, allocations: 28.03 kB / 0.9541 GB, free: 5.094 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.0002918/0.6473, allocations: 162 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.6474, allocations: 33.3 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6474, allocations: 0 / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.83e-05/0.6474, allocations: 17.02 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.6476, allocations: 1.438 kB / 0.9543 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.6478, allocations: 141.9 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.519e-05/0.6479, allocations: 0.6822 MB / 0.9551 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.6479, allocations: 9.531 kB / 0.9551 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6479, allocations: 4.062 kB / 0.9551 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.002719/0.6507, allocations: 1.246 MB / 0.9563 GB, free: 3.461 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