Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 100.1 kB / 15.88 MB, free: 12 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.001898/0.001898, allocations: 196 kB / 16.79 MB, free: 6.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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.339/2.339, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 63.89 kB / 0.8125 GB, free: 14.92 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.723, allocations: 140.4 MB / 0.9496 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.003487/0.7265, allocations: 1.284 MB / 0.9508 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.728, allocations: 462.2 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.7281, allocations: 5.375 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.7281, allocations: 3.938 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.668e-05/0.7282, allocations: 0 / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.7289, allocations: 84.67 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.311e-05/0.729, allocations: 25.53 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.7291, allocations: 2.75 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.125e-05/0.7291, allocations: 12.05 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.7292, allocations: 10.69 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.7292, allocations: 1.375 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.7295, allocations: 102.6 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.7296, allocations: 9.25 kB / 0.9515 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.7296, allocations: 16.05 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.7299, allocations: 68.77 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7299, allocations: 0 / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7299, allocations: 1.375 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.7299, allocations: 0 / 0.9516 GB, free: 7.648 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.0005632/0.7305, allocations: 380.5 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.7305, allocations: 9.375 kB / 0.952 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.7306, allocations: 14.75 kB / 0.952 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.7307, allocations: 170.5 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.7308, allocations: 1.781 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.7308, allocations: 1.719 kB / 0.9521 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.731, allocations: 39.34 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.731, allocations: 1.844 kB / 0.9522 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.731, allocations: 3.938 kB / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.731, allocations: 0 / 0.9522 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.7311, allocations: 12.08 kB / 0.9522 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.7313, allocations: 157.5 kB / 0.9524 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.7314, allocations: 27.73 kB / 0.9524 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.7315, allocations: 18.25 kB / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.7315, allocations: 0 / 0.9524 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.7317, allocations: 56.7 kB / 0.9524 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.7317, allocations: 0 / 0.9524 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002985/0.732, allocations: 82.61 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.7321, allocations: 52.69 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.805e-05/0.7322, allocations: 104.7 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.7322, allocations: 27.36 kB / 0.9527 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.7323, allocations: 85.86 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.7323, allocations: 9.547 kB / 0.9528 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.7324, allocations: 17.84 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/0.7324, allocations: 316.4 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.7325, allocations: 13.48 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.182e-05/0.7326, allocations: 33.42 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.767e-05/0.7327, allocations: 49.27 kB / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7327, allocations: 256 / 0.9532 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001663/0.7329, allocations: 72.66 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7329, allocations: 11.53 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.7329, allocations: 5.188 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7329, allocations: 1.312 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.818e-05/0.7331, allocations: 6.344 kB / 0.9533 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.7331, allocations: 5.047 kB / 0.9533 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.7331, allocations: 6.344 kB / 0.9533 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.7332, allocations: 5.938 kB / 0.9533 GB, free: 5.812 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 8.529e-05/0.7333, allocations: 120.2 kB / 0.9534 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.7333, allocations: 6.562 kB / 0.9534 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.7333, allocations: 7.844 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.7334, allocations: 1.219 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.7334, allocations: 0 / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7334, allocations: 1.25 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.7335, allocations: 162.8 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7335, allocations: 0 / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.7336, allocations: 1.281 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.7336, allocations: 5.219 kB / 0.9536 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.7336, allocations: 5.219 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.7336, allocations: 0 / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.7336, allocations: 0 / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.7338, allocations: 86.89 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.7339, allocations: 78.36 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.7339, allocations: 5.219 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.679e-05/0.7339, allocations: 1.281 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.734, allocations: 5 kB / 0.9538 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.734, allocations: 9.234 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.7341, allocations: 84.66 kB / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7341, allocations: 0 / 0.9539 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004324/0.7345, allocations: 38.86 kB / 0.9539 GB, free: 5.172 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.0004824/0.735, allocations: 163.5 kB / 0.9541 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001576/0.7352, allocations: 29.42 kB / 0.9541 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7352, allocations: 3.938 kB / 0.9541 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/0.7353, allocations: 12.16 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.7355, allocations: 1.906 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.7359, allocations: 147.2 kB / 0.9542 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.736, allocations: 0.6831 MB / 0.9549 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.7361, allocations: 13.88 kB / 0.9549 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of SimCode: time 4.71e-07/0.7361, allocations: 0 / 0.9549 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.004826/0.7409, allocations: 1.236 MB / 0.9561 GB, free: 3.539 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches