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.001667/0.001667, 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.001848/0.001848, 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.18 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.292/2.292, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 66.08 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2862, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002257/0.2885, allocations: 1.217 MB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.2893, allocations: 464.6 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.2893, allocations: 3.938 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2894, allocations: 0 / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.222e-05/0.2894, allocations: 3.938 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.2899, allocations: 107.6 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.745e-05/0.29, allocations: 23.86 kB / 0.9529 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.877e-05/0.2901, allocations: 11.97 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.294e-05/0.2901, allocations: 4 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.2901, allocations: 15.92 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2902, allocations: 4 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.2904, allocations: 99.84 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.2904, allocations: 11.98 kB / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.2905, allocations: 3.938 kB / 0.953 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.2907, allocations: 99.8 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2907, allocations: 4 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2907, allocations: 0 / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.2907, allocations: 0 / 0.9531 GB, free: 5.973 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.0005513/0.2912, allocations: 385 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2913, allocations: 12.03 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.2913, allocations: 8.844 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2915, allocations: 160.4 kB / 0.9537 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.2915, allocations: 4.375 kB / 0.9537 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.2916, allocations: 4.359 kB / 0.9537 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.2917, allocations: 42.25 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2917, allocations: 4.125 kB / 0.9537 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2917, allocations: 3.938 kB / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2917, allocations: 0 / 0.9537 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.992e-05/0.2917, allocations: 4 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.2919, allocations: 161.7 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.021e-05/0.292, allocations: 26.58 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.2e-05/0.2921, allocations: 12.95 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2921, allocations: 3.984 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.2922, allocations: 63.34 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.2922, allocations: 0 / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.2924, allocations: 77.45 kB / 0.9541 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.2925, allocations: 51.41 kB / 0.9541 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.2926, allocations: 109.8 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.2926, allocations: 25.7 kB / 0.9542 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.2926, allocations: 88.12 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.2927, allocations: 11.84 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.2927, allocations: 25.7 kB / 0.9544 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2928, allocations: 318.8 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.2928, allocations: 4 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.902e-05/0.2929, allocations: 39.36 kB / 0.9547 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.222e-05/0.293, allocations: 51.55 kB / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.293, allocations: 0 / 0.9548 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001049/0.2931, allocations: 69.52 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2931, allocations: 7.938 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2931, allocations: 7.938 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2931, allocations: 0 / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.2932, allocations: 12 kB / 0.9548 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2932, allocations: 0 / 0.9548 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.23e-05/0.2932, allocations: 0 / 0.9548 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.2933, allocations: 8.094 kB / 0.9549 GB, free: 3.949 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 7.792e-05/0.2933, allocations: 121.8 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.2933, allocations: 3.938 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.2934, allocations: 3.906 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2934, allocations: 4 kB / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.2934, allocations: 0 / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2934, allocations: 0 / 0.955 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.2935, allocations: 153.7 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2935, allocations: 0 / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.45e-05/0.2936, allocations: 4 kB / 0.9551 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.2936, allocations: 7.938 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2936, allocations: 3.984 kB / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2936, allocations: 0 / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2936, allocations: 0 / 0.9551 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2937, allocations: 88.97 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2938, allocations: 81.09 kB / 0.9553 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.2938, allocations: 3.938 kB / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.2938, allocations: 0 / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.2939, allocations: 8 kB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.2939, allocations: 0 / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.2939, allocations: 91.52 kB / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2939, allocations: 0 / 0.9554 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002395/0.2942, allocations: 36 kB / 0.9554 GB, free: 3.246 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.0003097/0.2945, allocations: 173.2 kB / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.2946, allocations: 27.92 kB / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2946, allocations: 0 / 0.9556 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.2947, allocations: 12 kB / 0.9556 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.2948, allocations: 8.547 kB / 0.9556 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.295, allocations: 113 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.2953, allocations: 0.6805 MB / 0.9564 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.02e-05/0.2953, allocations: 12.17 kB / 0.9564 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.295e-05/0.2953, allocations: 7.438 kB / 0.9564 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2954, allocations: 0 / 0.9564 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of Templates: time 0.003327/0.2987, allocations: 1.097 MB / 0.9575 GB, free: 1.082 MB / 0.7325 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 -s cvode -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) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y