Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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.001943/0.001943, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002016/0.002016, allocations: 161.3 kB / 23.55 MB, free: 0.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.663/1.663, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 2.952/2.952, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.776e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002441/0.002468, allocations: 1.242 MB / 0.7875 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.003426, allocations: 415.2 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.003449, allocations: 0.9062 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.003468, allocations: 3.938 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.00352, allocations: 0 / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.004065, allocations: 116.8 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.004128, allocations: 15.98 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.483e-05/0.004163, allocations: 3.984 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.642e-05/0.0042, allocations: 9.062 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.598e-05/0.004226, allocations: 7.922 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.004245, allocations: 4 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003092/0.004554, allocations: 133.2 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.004571, allocations: 7.984 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.004597, allocations: 4 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.004819, allocations: 99.67 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.004823, allocations: 4.875 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004824, allocations: 0 / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.004828, allocations: 0.75 kB / 0.7883 GB, free: 10.79 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.0005421/0.00537, allocations: 373.5 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.005405, allocations: 8.031 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.005464, allocations: 4.938 kB / 0.7887 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.005602, allocations: 120.5 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.005616, allocations: 2.406 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.005632, allocations: 8.359 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.005738, allocations: 34.25 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.005747, allocations: 192 / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005755, allocations: 384 / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.005759, allocations: 6.562 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.005787, allocations: 3.938 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.005957, allocations: 116.6 kB / 0.789 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.006059, allocations: 39 kB / 0.789 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.006099, allocations: 19.81 kB / 0.789 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.006111, allocations: 0.5 kB / 0.789 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.006228, allocations: 58.62 kB / 0.7891 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.00623, allocations: 0 / 0.7891 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0002512/0.006481, allocations: 73.8 kB / 0.7892 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.006532, allocations: 51.41 kB / 0.7892 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.00668, allocations: 175.2 kB / 0.7894 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.0067, allocations: 25.7 kB / 0.7894 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.007041, allocations: 130.9 kB / 0.7895 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.007065, allocations: 17.59 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.228e-05/0.007117, allocations: 27.38 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002707/0.007388, allocations: 496.1 kB / 0.7901 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.007415, allocations: 12 kB / 0.7901 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.007474, allocations: 46.73 kB / 0.7901 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.156e-05/0.007555, allocations: 52.22 kB / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007557, allocations: 0 / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000115/0.007672, allocations: 67.56 kB / 0.7902 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.007689, allocations: 8 kB / 0.7902 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.007698, allocations: 11.92 kB / 0.7902 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.007711, allocations: 2.469 kB / 0.7902 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.007792, allocations: 16 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.0078, allocations: 3.938 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.007822, allocations: 0 / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.007829, allocations: 4 kB / 0.7903 GB, free: 8.586 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.0001216/0.007951, allocations: 160.6 kB / 0.7904 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.007967, allocations: 8.656 kB / 0.7904 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.007991, allocations: 7.688 kB / 0.7904 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.007992, allocations: 0.5312 kB / 0.7904 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.007995, allocations: 1.656 kB / 0.7904 GB, free: 8.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.008003, allocations: 3.938 kB / 0.7904 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.008126, allocations: 112.6 kB / 0.7905 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.00813, allocations: 3.984 kB / 0.7906 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.008149, allocations: 7.938 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.008151, allocations: 0.6562 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.008158, allocations: 0 / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008159, allocations: 1.188 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008159, allocations: 0 / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.008325, allocations: 100.4 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.008338, allocations: 9.094 kB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.00835, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.008369, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.008394, allocations: 4.875 kB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.008402, allocations: 3.984 kB / 0.7907 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.686e-05/0.008479, allocations: 128 kB / 0.7908 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008479, allocations: 0 / 0.7908 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002372/0.008716, allocations: 31.88 kB / 0.7908 GB, free: 7.945 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.0004854/0.009201, allocations: 187.1 kB / 0.791 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001213/0.009323, allocations: 36.55 kB / 0.791 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.009324, allocations: 1.562 kB / 0.791 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.831e-05/0.009362, allocations: 19.62 kB / 0.7911 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.009488, allocations: 0 / 0.7911 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002697/0.009758, allocations: 118.3 kB / 0.7912 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.186e-05/0.00982, allocations: 60.52 kB / 0.7912 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.009847, allocations: 11.17 kB / 0.7912 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.009867, allocations: 8.5 kB / 0.7912 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.009868, allocations: 0 / 0.7912 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of Templates: time 0.004368/0.01424, allocations: 1.085 MB / 0.7923 GB, free: 6.414 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",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:lambda,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 8.242047462030314]