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.009232/0.009232, allocations: 98.88 kB / 15.73 MB, free: 6.055 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.001581/0.001581, allocations: 192.5 kB / 16.67 MB, free: 5.977 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.381/2.381, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 70.58 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2955, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002843/0.2984, allocations: 1.219 MB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.2996, allocations: 444.2 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.243e-05/0.2997, allocations: 3.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.2997, allocations: 4 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.2998, allocations: 11.92 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.3008, allocations: 99.66 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.3009, allocations: 31.84 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.301, allocations: 0 / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.301, allocations: 11.98 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.301, allocations: 11.92 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.3011, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.3014, allocations: 107.8 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.3014, allocations: 3.984 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.3014, allocations: 15.94 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.3017, allocations: 103.7 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3018, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3018, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.3018, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 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.0007345/0.3025, allocations: 388.8 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.3026, allocations: 8.031 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.3026, allocations: 0.9375 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3028, allocations: 172.3 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/0.3029, allocations: 4.375 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3029, allocations: 4.375 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.303, allocations: 42.17 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.303, allocations: 192 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.3031, allocations: 3.938 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3031, allocations: 0 / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.973e-05/0.3031, allocations: 8 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.3033, allocations: 153.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.3034, allocations: 38.61 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.3035, allocations: 8.859 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.3035, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.3037, allocations: 63.36 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3037, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002774/0.304, allocations: 69.61 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3041, allocations: 63.39 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3042, allocations: 113.7 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3042, allocations: 25.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.426e-05/0.3043, allocations: 84.14 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.3043, allocations: 7.953 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.3044, allocations: 21.7 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3045, allocations: 314.8 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.3046, allocations: 4.25 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-05/0.3046, allocations: 43.36 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.347e-05/0.3047, allocations: 51.38 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3047, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001184/0.3048, allocations: 69.84 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3049, allocations: 11.94 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3049, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3049, allocations: 3.938 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.431e-05/0.305, allocations: 8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.305, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/0.305, allocations: 11.94 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3051, allocations: 0 / 1.092 GB, free: 13.44 MB / 0.8575 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.469e-05/0.3052, allocations: 117.8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.3052, allocations: 16.02 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.3052, allocations: 3.906 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3052, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3052, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3052, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.3054, allocations: 157.7 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3054, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-05/0.3054, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3054, allocations: 3.938 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3054, allocations: 3.984 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3054, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3055, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.3056, allocations: 89.02 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/0.3057, allocations: 85.09 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.3057, allocations: 3.938 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.3057, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.3057, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3057, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.3058, allocations: 95.27 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3058, allocations: 3.938 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002987/0.3061, allocations: 31.88 kB / 1.092 GB, free: 12.73 MB / 0.8575 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.0003716/0.3065, allocations: 163.9 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.3066, allocations: 36.08 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3066, allocations: 4.062 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.812e-05/0.3067, allocations: 11.98 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.3068, allocations: 4 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002813/0.3071, allocations: 105 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.3074, allocations: 0.6768 MB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.481e-05/0.3074, allocations: 8.234 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.803e-05/0.3075, allocations: 7.438 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of SimCode: time 4.91e-07/0.3075, allocations: 4 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of Templates: time 0.003976/0.3115, allocations: 1.097 MB / 1.094 GB, free: 10.57 MB / 0.8575 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