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.001916/0.001916, allocations: 112.6 kB / 16.37 MB, free: 6 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.002016/0.002016, allocations: 196 kB / 17.31 MB, free: 5.613 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.206/2.206, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 64.89 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2781, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DOFF): time 0.002569/0.2807, allocations: 1.238 MB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.2817, allocations: 456.6 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.2817, allocations: 0 / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2818, allocations: 3.938 kB / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.2818, allocations: 0 / 0.9528 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.2824, allocations: 115.6 kB / 0.9529 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.2825, allocations: 19.92 kB / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.2825, allocations: 0 / 0.9529 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.123e-05/0.2825, allocations: 11.98 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.009e-05/0.2826, allocations: 7.938 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2826, allocations: 7.984 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.2828, allocations: 107.8 kB / 0.953 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.2828, allocations: 3.984 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.2829, allocations: 11.94 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.2831, allocations: 99.8 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2831, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2831, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2831, allocations: 0 / 0.9531 GB, free: 5.988 MB / 0.7325 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.0006537/0.2838, allocations: 389 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2838, allocations: 8.031 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.2838, allocations: 12.78 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.284, allocations: 160.4 kB / 0.9537 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.284, allocations: 384 / 0.9537 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.284, allocations: 12.38 kB / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.2841, allocations: 34.25 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2842, allocations: 4.172 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.2842, allocations: 3.938 kB / 0.9537 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.2842, allocations: 4 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.956e-05/0.2842, allocations: 0 / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.2844, allocations: 161.7 kB / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.919e-05/0.2845, allocations: 30.55 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.2845, allocations: 16.86 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.2845, allocations: 0 / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.2846, allocations: 59.42 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.2846, allocations: 0 / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002405/0.2849, allocations: 85.58 kB / 0.9541 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.2849, allocations: 51.41 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.285, allocations: 109.8 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.2852, allocations: 25.7 kB / 0.9542 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.2852, allocations: 84.14 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2852, allocations: 11.84 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.2853, allocations: 17.72 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2854, allocations: 322.8 kB / 0.9547 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.919e-05/0.2854, allocations: 4 kB / 0.9547 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.22e-05/0.2855, allocations: 35.42 kB / 0.9547 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.2855, allocations: 47.38 kB / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2856, allocations: 0 / 0.9547 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001038/0.2857, allocations: 69.53 kB / 0.9548 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2857, allocations: 12.03 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.2857, allocations: 0 / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.2857, allocations: 15.86 kB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.317e-05/0.2858, allocations: 4 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2858, allocations: 4 kB / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.2858, allocations: 0 / 0.9548 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2858, allocations: 4 kB / 0.9548 GB, free: 3.969 MB / 0.7325 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.651e-05/0.2859, allocations: 109.8 kB / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.2859, allocations: 7.938 kB / 0.955 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.286, allocations: 11.89 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.286, allocations: 0 / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.286, allocations: 256 / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.286, allocations: 0 / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.2861, allocations: 165.7 kB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2861, allocations: 0 / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.2862, allocations: 3.938 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.2862, allocations: 3.938 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.2862, allocations: 4 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2862, allocations: 0 / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2862, allocations: 0 / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.2863, allocations: 89.02 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.802e-05/0.2864, allocations: 81.11 kB / 0.9553 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2864, allocations: 7.922 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.2864, allocations: 4 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.2865, allocations: 0 / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2865, allocations: 4 kB / 0.9553 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.2865, allocations: 83.27 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2865, allocations: 7.938 kB / 0.9554 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002485/0.2868, allocations: 36 kB / 0.9554 GB, free: 3.258 MB / 0.7325 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.0003229/0.2871, allocations: 160.6 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.2872, allocations: 35.92 kB / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2872, allocations: 0 / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.952e-05/0.2873, allocations: 20.11 kB / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2874, allocations: 8.547 kB / 0.9557 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002377/0.2877, allocations: 109 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.2881, allocations: 0.6844 MB / 0.9564 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.2881, allocations: 0 / 0.9564 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.668e-05/0.2881, allocations: 11.44 kB / 0.9564 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2881, allocations: 0 / 0.9564 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of Templates: time 0.003429/0.2916, allocations: 1.094 MB / 0.9575 GB, free: 1.102 MB / 0.7325 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 -s cvode -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