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.002078/0.002078, allocations: 79.52 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00203/0.00203, allocations: 160.9 kB / 22.46 MB, free: 5.375 MB / 14.72 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.623/1.623, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 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.827/2.827, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] 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.804e-06/1.804e-06, allocations: 3.938 kB / 0.9509 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.247e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002667/0.002699, allocations: 1.238 MB / 0.9521 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.00365, allocations: 410.5 kB / 0.9525 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.003678, allocations: 0 / 0.9525 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.367e-05/0.003702, allocations: 3.938 kB / 0.9525 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.396e-05/0.003736, allocations: 0 / 0.9525 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006183/0.004354, allocations: 107.5 kB / 0.9526 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.004429, allocations: 19.92 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.004469, allocations: 4 kB / 0.9527 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.251e-05/0.004511, allocations: 11.98 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.837e-05/0.00454, allocations: 7.969 kB / 0.9527 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.004558, allocations: 4 kB / 0.9527 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002893/0.004848, allocations: 127.8 kB / 0.9528 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.004865, allocations: 7.922 kB / 0.9528 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.00489, allocations: 7.938 kB / 0.9528 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.00512, allocations: 103.7 kB / 0.9529 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.005123, allocations: 4 kB / 0.9529 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005124, allocations: 0 / 0.9529 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.005134, allocations: 0 / 0.9529 GB, free: 9.52 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.0005549/0.005689, allocations: 278.1 kB / 0.9532 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.005736, allocations: 12.02 kB / 0.9532 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.005776, allocations: 4.938 kB / 0.9532 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.005928, allocations: 105.8 kB / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.005939, allocations: 384 / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.005959, allocations: 4.375 kB / 0.9533 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.006087, allocations: 34.89 kB / 0.9533 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.006098, allocations: 192 / 0.9533 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.006109, allocations: 384 / 0.9533 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.006114, allocations: 384 / 0.9533 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.425e-05/0.006148, allocations: 23.86 kB / 0.9534 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001766/0.006325, allocations: 101.3 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.093e-05/0.006416, allocations: 26.61 kB / 0.9535 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.006449, allocations: 12.86 kB / 0.9535 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.006463, allocations: 0 / 0.9535 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.006627, allocations: 67.38 kB / 0.9536 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.006629, allocations: 0 / 0.9536 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002303/0.006859, allocations: 61.69 kB / 0.9536 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.006914, allocations: 55.39 kB / 0.9537 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.007019, allocations: 110 kB / 0.9538 GB, free: 8.496 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.00704, allocations: 25.7 kB / 0.9538 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.316e-05/0.007093, allocations: 84.14 kB / 0.9539 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.007123, allocations: 15.88 kB / 0.9539 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.007163, allocations: 21.72 kB / 0.9539 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.007309, allocations: 310.8 kB / 0.9542 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.779e-05/0.007337, allocations: 15.98 kB / 0.9542 GB, free: 8.008 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.598e-05/0.007383, allocations: 31.38 kB / 0.9543 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.309e-05/0.007456, allocations: 47.42 kB / 0.9543 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007458, allocations: 4 kB / 0.9543 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001222/0.00758, allocations: 69.52 kB / 0.9544 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.007595, allocations: 8 kB / 0.9544 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.007601, allocations: 0 / 0.9544 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.007618, allocations: 3.938 kB / 0.9544 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.665e-05/0.007695, allocations: 8 kB / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.007707, allocations: 3.938 kB / 0.9544 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.751e-05/0.007734, allocations: 4 kB / 0.9544 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.007747, allocations: 12.08 kB / 0.9544 GB, free: 7.789 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.793e-05/0.007845, allocations: 113.8 kB / 0.9545 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.007861, allocations: 7.938 kB / 0.9545 GB, free: 7.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.007892, allocations: 7.688 kB / 0.9545 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.007894, allocations: 0 / 0.9545 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.007899, allocations: 0 / 0.9545 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.007904, allocations: 3.938 kB / 0.9545 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.008013, allocations: 105.3 kB / 0.9546 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.008016, allocations: 4 kB / 0.9546 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.008034, allocations: 4 kB / 0.9547 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008035, allocations: 4 kB / 0.9547 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.008043, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008045, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.008045, allocations: 0 / 0.9547 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.008184, allocations: 93 kB / 0.9547 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.00819, allocations: 0 / 0.9547 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.008207, allocations: 11.94 kB / 0.9548 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.008227, allocations: 0 / 0.9548 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.008256, allocations: 3.984 kB / 0.9548 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.008261, allocations: 0 / 0.9548 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.008302, allocations: 83.22 kB / 0.9548 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.008302, allocations: 4 kB / 0.9548 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002587/0.008561, allocations: 35.92 kB / 0.9549 GB, free: 7.254 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.0004371/0.008998, allocations: 168 kB / 0.955 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.009109, allocations: 35.86 kB / 0.9551 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.00911, allocations: 0 / 0.9551 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.942e-05/0.00914, allocations: 8.188 kB / 0.9551 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.009272, allocations: 4 kB / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.009526, allocations: 108.9 kB / 0.9552 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.009576, allocations: 59.36 kB / 0.9552 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.017e-05/0.009596, allocations: 3.984 kB / 0.9552 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.009617, allocations: 12.5 kB / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of SimCode: time 3.5e-07/0.009618, allocations: 0 / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of Templates: time 0.004173/0.01379, allocations: 1.075 MB / 0.9563 GB, free: 5.758 MB / 0.8575 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 400] 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.144632194191217]