Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.367/2.367, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 200 kB / 329.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.368/2.368, allocations: 225.6 MB / 0.6001 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009987/0.0009983, allocations: 100.6 kB / 0.7074 GB, free: 6.262 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0007238/0.0007241, allocations: 10.47 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2195, allocations: 109.1 MB / 0.9308 GB, free: 24.92 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001279/0.2209, allocations: 0.9345 MB / 0.9317 GB, free: 23.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008445/0.2217, allocations: 375.1 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.2218, allocations: 0 / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.2218, allocations: 3.938 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.777e-05/0.2219, allocations: 4 kB / 0.932 GB, free: 23.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.2224, allocations: 71.84 kB / 0.9321 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.748e-05/0.2224, allocations: 19.86 kB / 0.9321 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.2225, allocations: 0 / 0.9321 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.2225, allocations: 8 kB / 0.9321 GB, free: 23.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.2226, allocations: 15.86 kB / 0.9321 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.2226, allocations: 0 / 0.9321 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/0.2228, allocations: 83.91 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.2228, allocations: 3.938 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.2229, allocations: 29.7 kB / 0.9323 GB, free: 23.37 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.223, allocations: 67.89 kB / 0.9323 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.223, allocations: 0 / 0.9323 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2231, allocations: 0 / 0.9323 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.2231, allocations: 0 / 0.9323 GB, free: 23.3 MB / 0.5886 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.0003896/0.2235, allocations: 339.5 kB / 0.9326 GB, free: 22.92 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.2235, allocations: 8.031 kB / 0.9327 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.2236, allocations: 4.938 kB / 0.9327 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.545e-05/0.2237, allocations: 164.6 kB / 0.9328 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.2237, allocations: 4.375 kB / 0.9328 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.2237, allocations: 8.375 kB / 0.9328 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.2238, allocations: 34.25 kB / 0.9329 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2238, allocations: 192 / 0.9329 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2239, allocations: 3.938 kB / 0.9329 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2239, allocations: 4 kB / 0.9329 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.22e-05/0.2239, allocations: 7.922 kB / 0.9329 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.2241, allocations: 157.7 kB / 0.933 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.2242, allocations: 26.61 kB / 0.9331 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.2242, allocations: 20.8 kB / 0.9331 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.2242, allocations: 4 kB / 0.9331 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.2244, allocations: 59.34 kB / 0.9331 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.2244, allocations: 0 / 0.9331 GB, free: 22.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0002188/0.2246, allocations: 69.61 kB / 0.9332 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.2247, allocations: 51.41 kB / 0.9332 GB, free: 22.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.2247, allocations: 106 kB / 0.9333 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2248, allocations: 25.7 kB / 0.9334 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.2248, allocations: 84.14 kB / 0.9335 GB, free: 21.94 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.2248, allocations: 7.906 kB / 0.9335 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2248, allocations: 0 / 0.9335 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.2249, allocations: 314.8 kB / 0.9338 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/0.2249, allocations: 8 kB / 0.9338 GB, free: 21.61 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.225, allocations: 39.38 kB / 0.9338 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.853e-05/0.225, allocations: 16.16 kB / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.225, allocations: 0 / 0.9338 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000122/0.2252, allocations: 69.53 kB / 0.9339 GB, free: 21.47 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2252, allocations: 11.88 kB / 0.9339 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2252, allocations: 0 / 0.9339 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.2252, allocations: 4 kB / 0.9339 GB, free: 21.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.2254, allocations: 12.09 kB / 0.9339 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2254, allocations: 11.92 kB / 0.9339 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.2255, allocations: 0 / 0.9339 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2255, allocations: 4 kB / 0.9339 GB, free: 21.43 MB / 0.5886 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.145e-05/0.2256, allocations: 105.8 kB / 0.934 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.2257, allocations: 11.94 kB / 0.934 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.2258, allocations: 3.5 kB / 0.934 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2258, allocations: 0 / 0.934 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.2258, allocations: 0 / 0.934 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2258, allocations: 4 kB / 0.934 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.226, allocations: 157.7 kB / 0.9342 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.2261, allocations: 4 kB / 0.9342 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.2261, allocations: 7.984 kB / 0.9342 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2262, allocations: 3.938 kB / 0.9342 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.2262, allocations: 0 / 0.9342 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2262, allocations: 3.938 kB / 0.9342 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2262, allocations: 0 / 0.9342 GB, free: 21.06 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.2266, allocations: 93.05 kB / 0.9343 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.2266, allocations: 84.95 kB / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.2267, allocations: 3.938 kB / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.095e-05/0.2267, allocations: 0 / 0.9344 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.2268, allocations: 4 kB / 0.9344 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.2268, allocations: 0 / 0.9344 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.2269, allocations: 87.27 kB / 0.9345 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2269, allocations: 0 / 0.9345 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003862/0.2273, allocations: 24 kB / 0.9345 GB, free: 20.73 MB / 0.5886 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003815/0.2277, allocations: 172.5 kB / 0.9347 GB, free: 20.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.2278, allocations: 27.92 kB / 0.9347 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2278, allocations: 0 / 0.9347 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.144e-05/0.2279, allocations: 15.98 kB / 0.9347 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.2281, allocations: 4 kB / 0.9347 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.2284, allocations: 118.7 kB / 0.9348 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.2285, allocations: 0.677 MB / 0.9355 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.2285, allocations: 7.984 kB / 0.9355 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.2286, allocations: 7.438 kB / 0.9355 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.2286, allocations: 4 kB / 0.9355 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of Templates: time 0.004016/0.2326, allocations: 0.9861 MB / 0.9365 GB, free: 18.67 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1)