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.001396/0.001396, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001432/0.001432, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.742/2.742, allocations: 476 MB / 0.7707 GB, free: 4.898 MB / 0.6231 GB " [Timeout remaining time 177] 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.00213/0.00213, allocations: 63.86 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3215, allocations: 170 MB / 1.284 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002482/0.324, allocations: 1.241 MB / 1.285 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009008/0.3249, allocations: 406.8 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.3249, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.3249, allocations: 3.938 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.3249, allocations: 3.938 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.3255, allocations: 107.6 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.158e-05/0.3255, allocations: 11.98 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.3255, allocations: 3.984 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.3256, allocations: 12 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.039e-05/0.3256, allocations: 11.92 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3256, allocations: 0 / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002827/0.3259, allocations: 131.7 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.3259, allocations: 4 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.3259, allocations: 4 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.3261, allocations: 95.67 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3261, allocations: 0 / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3261, allocations: 0 / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3261, allocations: 0 / 1.286 GB, free: 9.938 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.0004621/0.3266, allocations: 286 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3266, allocations: 12.03 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.3267, allocations: 4.922 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.934e-05/0.3268, allocations: 106.5 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3268, allocations: 384 / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.3268, allocations: 4.375 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.3269, allocations: 38.25 kB / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3269, allocations: 192 / 1.286 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3269, allocations: 7.938 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3269, allocations: 0 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.826e-05/0.3269, allocations: 11.97 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.3271, allocations: 105.3 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.956e-05/0.3272, allocations: 34.55 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.74e-05/0.3272, allocations: 8.859 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.3272, allocations: 0 / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/0.3273, allocations: 57.17 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3273, allocations: 0 / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002075/0.3275, allocations: 77.52 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3276, allocations: 59.39 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.3277, allocations: 93.86 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3277, allocations: 33.7 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.3278, allocations: 80.14 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.3278, allocations: 11.94 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.3278, allocations: 17.72 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.328, allocations: 318.8 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.328, allocations: 7.984 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.823e-05/0.328, allocations: 31.44 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.022e-05/0.3281, allocations: 47.36 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3281, allocations: 4 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001037/0.3282, allocations: 65.62 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3282, allocations: 7.938 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3282, allocations: 4 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3282, allocations: 3.938 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.3283, allocations: 8 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3283, allocations: 0 / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.3283, allocations: 11.83 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3283, allocations: 4 kB / 1.287 GB, free: 8.207 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.29e-05/0.3284, allocations: 121.9 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-06/0.3284, allocations: 0 / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.3285, allocations: 7.625 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3285, allocations: 4 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3285, allocations: 0 / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3285, allocations: 3.938 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.3286, allocations: 105.3 kB / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3286, allocations: 432 / 1.287 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.482e-05/0.3286, allocations: 3.938 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3286, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3286, allocations: 8 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3286, allocations: 3.938 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3286, allocations: 0 / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.3287, allocations: 89.09 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-06/0.3287, allocations: 3.953 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.3288, allocations: 0 / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.506e-05/0.3288, allocations: 11.94 kB / 1.288 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.3288, allocations: 7.984 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3288, allocations: 0 / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.3289, allocations: 79.28 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3289, allocations: 0 / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000251/0.3291, allocations: 35.92 kB / 1.288 GB, free: 7.672 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.3295, allocations: 156.6 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3296, allocations: 23.98 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3296, allocations: 0 / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.3296, allocations: 23.86 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.3298, allocations: 12.06 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.33, allocations: 134.7 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.289e-05/0.3301, allocations: 55.36 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.3301, allocations: 15.44 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.3301, allocations: 0 / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of Templates: time 0.003221/0.3333, allocations: 1.206 MB / 1.289 GB, free: 6.008 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/jenkins1/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] Reference file matches [Calling sys.exit(0), Time elapsed: 11.676311676390469]