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.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.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.001707/0.001707, allocations: 108 kB / 15.61 MB, free: 152 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.001705/0.001705, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.409/1.409, 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.431/2.431, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.8125 GB, free: 14.5 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7017/0.7031, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.00222/0.7053, allocations: 1.221 MB / 0.9508 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007773/0.7061, allocations: 448.5 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.7062, allocations: 0 / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.7062, allocations: 1.375 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.7063, allocations: 3.938 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.7068, allocations: 111 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.567e-05/0.7069, allocations: 17.23 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.707, allocations: 5.375 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.707, allocations: 17.42 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.746e-05/0.707, allocations: 10.2 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.707, allocations: 5.156 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.7073, allocations: 109.4 kB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.7073, allocations: 5.203 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.038e-05/0.7073, allocations: 10.81 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.7076, allocations: 100.8 kB / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7076, allocations: 0 / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.7076, allocations: 0 / 0.9516 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7076, allocations: 0 / 0.9516 GB, free: 7.594 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.0004356/0.708, allocations: 384.3 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.7081, allocations: 13.94 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.7081, allocations: 6.281 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.099e-05/0.7082, allocations: 170.8 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.7082, allocations: 5.625 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.7082, allocations: 1.969 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.7084, allocations: 43.91 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.7084, allocations: 192 / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.7084, allocations: 5.594 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.7084, allocations: 0 / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.7085, allocations: 3.594 kB / 0.9522 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.7086, allocations: 166 kB / 0.9523 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.7088, allocations: 35.42 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.93e-05/0.7088, allocations: 9.734 kB / 0.9524 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.7088, allocations: 0 / 0.9524 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002568/0.7091, allocations: 56.95 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.7091, allocations: 4 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003029/0.7094, allocations: 78.58 kB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.7095, allocations: 52.53 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.7096, allocations: 104.9 kB / 0.9527 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.7096, allocations: 26.86 kB / 0.9527 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.7096, allocations: 85.55 kB / 0.9528 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.7097, allocations: 6.094 kB / 0.9528 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.7097, allocations: 19.16 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.7098, allocations: 324.1 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.7099, allocations: 8.109 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.7099, allocations: 34.98 kB / 0.9531 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.71, allocations: 43.88 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.71, allocations: 5.469 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001462/0.7102, allocations: 64.03 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.7102, allocations: 10.12 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.7102, allocations: 13.08 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.7103, allocations: 1.125 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.7104, allocations: 10.09 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7104, allocations: 1.812 kB / 0.9533 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.7104, allocations: 5.375 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.7104, allocations: 3.188 kB / 0.9533 GB, free: 5.754 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 9.447e-05/0.7105, allocations: 116.4 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.7106, allocations: 5.344 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.7106, allocations: 9.203 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.7106, allocations: 1.375 kB / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7106, allocations: 0 / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7106, allocations: 0 / 0.9534 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.7108, allocations: 159.7 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7108, allocations: 240 / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.855e-05/0.7108, allocations: 1.281 kB / 0.9536 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7108, allocations: 11.88 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.7108, allocations: 1.656 kB / 0.9536 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.7108, allocations: 3.984 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7108, allocations: 13.75 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.711, allocations: 81.44 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.7111, allocations: 79.55 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.7111, allocations: 11.92 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.575e-05/0.7111, allocations: 1.406 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.7112, allocations: 5.375 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.7112, allocations: 1.312 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.637e-05/0.7112, allocations: 84.02 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7112, allocations: 0 / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003531/0.7116, allocations: 31.94 kB / 0.9539 GB, free: 5.113 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.0004952/0.7121, allocations: 163.3 kB / 0.954 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.7123, allocations: 33.27 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7123, allocations: 0 / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.7123, allocations: 16.17 kB / 0.9541 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.7125, allocations: 6.438 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003027/0.7128, allocations: 104.8 kB / 0.9542 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.713, allocations: 0.6863 MB / 0.9549 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.713, allocations: 2.875 kB / 0.9549 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.713, allocations: 12.86 kB / 0.9549 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.7131, allocations: 0 / 0.9549 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of Templates: time 0.003631/0.7167, allocations: 1.089 MB / 0.9559 GB, free: 3.578 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y