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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002002/0.002002, allocations: 55.91 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9398/0.9418, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002731/0.9445, allocations: 1.213 MB / 1.275 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.9454, allocations: 430.6 kB / 1.276 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.711e-05/0.9455, allocations: 4 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.9455, allocations: 0 / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.421e-05/0.9455, allocations: 3.938 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005173/0.9461, allocations: 95.7 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.9461, allocations: 19.92 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.9462, allocations: 0 / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.186e-05/0.9462, allocations: 8 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.12e-05/0.9462, allocations: 11.92 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.9462, allocations: 0 / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.9464, allocations: 95.89 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.509e-05/0.9464, allocations: 7.984 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.9465, allocations: 15.92 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.9466, allocations: 90.31 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.9467, allocations: 0 / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9467, allocations: 0 / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.9467, allocations: 0 / 1.276 GB, free: 2.578 MB / 0.9669 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.0006349/0.9473, allocations: 347.3 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.9473, allocations: 16.02 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.9474, allocations: 0.9375 kB / 1.276 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.9475, allocations: 168.3 kB / 1.276 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.9475, allocations: 4.375 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.9475, allocations: 384 / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.9476, allocations: 38.25 kB / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.9476, allocations: 192 / 1.277 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.9476, allocations: 3.938 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.9476, allocations: 4 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.397e-05/0.9477, allocations: 7.922 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.9478, allocations: 157.7 kB / 1.277 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.9479, allocations: 30.58 kB / 1.277 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.935e-05/0.948, allocations: 12.98 kB / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.948, allocations: 0 / 1.277 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.9481, allocations: 63.33 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.9481, allocations: 0 / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0001975/0.9483, allocations: 69.61 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.9484, allocations: 59.41 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.07e-05/0.9485, allocations: 97.84 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.9485, allocations: 25.7 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.9485, allocations: 88.08 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.9485, allocations: 11.91 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.9486, allocations: 21.7 kB / 1.277 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.9487, allocations: 318.8 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.9488, allocations: 8 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.079e-05/0.9489, allocations: 35.36 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.227e-05/0.9489, allocations: 43.44 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9489, allocations: 0 / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.949, allocations: 73.56 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.949, allocations: 11.92 kB / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.9491, allocations: 0 / 1.278 GB, free: 0.6445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.9491, allocations: 4 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.501e-05/0.9491, allocations: 4 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.9491, allocations: 4 kB / 1.278 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.9492, allocations: 3.938 kB / 1.278 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.9492, allocations: 4 kB / 1.278 GB, free: 0.625 MB / 0.9669 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 8.941e-05/0.9493, allocations: 122.3 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.9493, allocations: 11.89 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.272e-05/0.9493, allocations: 7.484 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.9493, allocations: 0 / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.9493, allocations: 0 / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.9493, allocations: 0 / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.9494, allocations: 153.7 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9494, allocations: 0 / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.9495, allocations: 4 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.9495, allocations: 3.938 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.9495, allocations: 4 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9495, allocations: 4 kB / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9495, allocations: 0 / 1.278 GB, free: 268 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.9496, allocations: 85.11 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.9497, allocations: 77.11 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.9497, allocations: 8.344 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.9497, allocations: 4 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.9497, allocations: 7.984 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.9497, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.9498, allocations: 91.2 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9498, allocations: 0 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002438/0.95, allocations: 31.92 kB / 1.278 GB, free: 15.93 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.0003628/0.9504, allocations: 153.3 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.9505, allocations: 31.92 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9505, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.9505, allocations: 12 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.9507, allocations: 1.562 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.9509, allocations: 117.9 kB / 1.279 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.9512, allocations: 0.6729 MB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.968e-05/0.9513, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.9513, allocations: 19.61 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9513, allocations: 0 / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of Templates: time 0.004041/0.9553, allocations: 1.025 MB / 1.28 GB, free: 13.86 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.89816264109686]