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.002004/0.002004, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.00222/0.00222, allocations: 220 kB / 22.24 MB, free: 5.109 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.838/2.838, allocations: 475.9 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.39 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002434/0.3525, allocations: 1.236 MB / 1.284 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009277/0.3534, allocations: 408.6 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.3534, allocations: 4 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.3534, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.676e-05/0.3535, allocations: 3.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005426/0.354, allocations: 107.6 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.3541, allocations: 15.94 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.3541, allocations: 7.969 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.3541, allocations: 4 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.942e-05/0.3542, allocations: 11.92 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.3542, allocations: 0 / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.3545, allocations: 135.8 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.3545, allocations: 7.984 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.106e-05/0.3545, allocations: 0 / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.3547, allocations: 91.69 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3547, allocations: 0 / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3547, allocations: 0 / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.3547, allocations: 4 kB / 1.285 GB, free: 9.934 MB / 0.9825 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.0004979/0.3552, allocations: 270.2 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3552, allocations: 12.03 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.3553, allocations: 4.922 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.3554, allocations: 114.5 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3554, allocations: 384 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.3554, allocations: 4.375 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.3555, allocations: 42.19 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.3555, allocations: 192 / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3555, allocations: 3.938 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3555, allocations: 3.938 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.759e-05/0.3556, allocations: 7.984 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.3557, allocations: 109.3 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.01e-05/0.3558, allocations: 30.61 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.3559, allocations: 16.8 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.3559, allocations: 0 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.356, allocations: 55.48 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.356, allocations: 4 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002026/0.3562, allocations: 73.56 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.3563, allocations: 55.39 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.3563, allocations: 101.8 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.3564, allocations: 25.7 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.3564, allocations: 84.14 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.3564, allocations: 7.953 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.3565, allocations: 25.7 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3566, allocations: 314.8 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.625e-05/0.3566, allocations: 11.98 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.3567, allocations: 31.44 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.813e-05/0.3568, allocations: 39.38 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3568, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001059/0.3569, allocations: 69.7 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3569, allocations: 12 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3569, allocations: 0 / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3569, allocations: 3.938 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.052e-05/0.357, allocations: 11.94 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.357, allocations: 0 / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.357, allocations: 15.89 kB / 1.286 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.357, allocations: 0 / 1.286 GB, free: 8.203 MB / 0.9825 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.354e-05/0.3571, allocations: 113.8 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.538e-06/0.3571, allocations: 3.938 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.3572, allocations: 15.62 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3572, allocations: 4 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3572, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3572, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.813e-05/0.3573, allocations: 101.3 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3573, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.3573, allocations: 0 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3573, allocations: 4 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3573, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3573, allocations: 3.938 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3573, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.3574, allocations: 93.05 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.3574, allocations: 11.89 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.3575, allocations: 0 / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.3575, allocations: 7.938 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.3575, allocations: 3.984 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3575, allocations: 4 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.3576, allocations: 83.75 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3576, allocations: 0 / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002447/0.3578, allocations: 27.92 kB / 1.287 GB, free: 7.676 MB / 0.9825 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.0003652/0.3582, allocations: 166.9 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3583, allocations: 31.92 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3583, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.984e-05/0.3583, allocations: 4 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.3585, allocations: 11.94 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.3587, allocations: 108.8 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.655e-05/0.3588, allocations: 63.34 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.909e-05/0.3588, allocations: 4.188 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.3588, allocations: 11.44 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3588, allocations: 0 / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of Templates: time 0.003767/0.3626, allocations: 1.058 MB / 1.288 GB, free: 6.191 MB / 0.9825 GB " [Timeout remaining time 299] 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: 9.387926613911986]