Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009839/0.0009839, allocations: 80.39 kB / 21.47 MB, free: 3.027 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 171.6 kB / 24.87 MB, free: 8.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.818/1.818, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.728e-05, allocations: 3.531 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002713/0.002741, allocations: 1.276 MB / 0.7895 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003942, allocations: 464 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.003997, allocations: 0 / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.264e-05/0.00403, allocations: 0.75 kB / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.004098, allocations: 0 / 0.79 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009329/0.005031, allocations: 124.3 kB / 0.7901 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.005145, allocations: 19.94 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.00521, allocations: 6.359 kB / 0.7901 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.864e-05/0.005278, allocations: 15.98 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.226e-05/0.005331, allocations: 7.922 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.005355, allocations: 4 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.005726, allocations: 135.7 kB / 0.7903 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.894e-05/0.005755, allocations: 11.94 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.005792, allocations: 5.828 kB / 0.7903 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.006101, allocations: 119.7 kB / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.006105, allocations: 0 / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.973e-06/0.006107, allocations: 0 / 0.7904 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.006115, allocations: 0 / 0.7904 GB, free: 10.11 MB / 0.7448 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.0006352/0.00675, allocations: 418.5 kB / 0.7908 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.006802, allocations: 9.5 kB / 0.7908 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.006846, allocations: 8.875 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.006968, allocations: 112.6 kB / 0.7909 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.006992, allocations: 1.75 kB / 0.7909 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.007002, allocations: 4.375 kB / 0.7909 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.007135, allocations: 54.94 kB / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.007145, allocations: 192 / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.007154, allocations: 2.125 kB / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.007161, allocations: 384 / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.121e-05/0.007182, allocations: 7.938 kB / 0.791 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.007317, allocations: 101.2 kB / 0.7911 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.007426, allocations: 36.09 kB / 0.7911 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.007455, allocations: 19.81 kB / 0.7911 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.007463, allocations: 0 / 0.7911 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001304/0.007593, allocations: 55.5 kB / 0.7912 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 2.855e-06/0.007596, allocations: 3.938 kB / 0.7912 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002193/0.007815, allocations: 65.61 kB / 0.7913 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.007873, allocations: 55.41 kB / 0.7913 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.007994, allocations: 165.9 kB / 0.7915 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.008014, allocations: 32.3 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.008077, allocations: 130.8 kB / 0.7916 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.00811, allocations: 15.92 kB / 0.7916 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.008154, allocations: 23.38 kB / 0.7917 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.00834, allocations: 0.4883 MB / 0.7921 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.008361, allocations: 7.984 kB / 0.7921 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-05/0.008402, allocations: 38.75 kB / 0.7922 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.341e-05/0.008475, allocations: 64.08 kB / 0.7922 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.008479, allocations: 1.906 kB / 0.7922 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001137/0.008592, allocations: 61.56 kB / 0.7923 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.008613, allocations: 9.875 kB / 0.7923 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.008621, allocations: 4.562 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.008633, allocations: 0.5 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.008725, allocations: 16.86 kB / 0.7923 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.00873, allocations: 0 / 0.7923 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.17e-05/0.008761, allocations: 15.83 kB / 0.7923 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.008773, allocations: 5.156 kB / 0.7923 GB, free: 7.875 MB / 0.7448 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 0.0001012/0.008874, allocations: 156.6 kB / 0.7925 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.00889, allocations: 0.8438 kB / 0.7925 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.008935, allocations: 12 kB / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.008937, allocations: 4.781 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.008939, allocations: 0 / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.008944, allocations: 0 / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.009059, allocations: 102.5 kB / 0.7926 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009061, allocations: 0 / 0.7926 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.009083, allocations: 4 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.009086, allocations: 0.8438 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.009093, allocations: 0 / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009095, allocations: 0 / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.009096, allocations: 1.156 kB / 0.7926 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.009255, allocations: 104.3 kB / 0.7927 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.009264, allocations: 3.938 kB / 0.7927 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.009279, allocations: 9.359 kB / 0.7927 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.009313, allocations: 4 kB / 0.7927 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.009336, allocations: 0 / 0.7927 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.009342, allocations: 1.5 kB / 0.7927 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002641/0.009606, allocations: 131.1 kB / 0.7929 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.009607, allocations: 4 kB / 0.7929 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002835/0.00989, allocations: 35.88 kB / 0.7929 GB, free: 7.258 MB / 0.7448 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.0003936/0.01028, allocations: 185.5 kB / 0.7931 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.747e-05/0.01038, allocations: 31.61 kB / 0.7931 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01038, allocations: 0.5 kB / 0.7931 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.01041, allocations: 17.03 kB / 0.7931 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.01056, allocations: 7.938 kB / 0.7931 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.0108, allocations: 126.2 kB / 0.7932 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.51e-05/0.01084, allocations: 55.36 kB / 0.7933 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.01086, allocations: 5.094 kB / 0.7933 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.0109, allocations: 70.84 kB / 0.7934 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/0.0109, allocations: 4 kB / 0.7934 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of Templates: time 0.003867/0.01477, allocations: 1.327 MB / 0.7947 GB, free: 5.414 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.1957328910939395]