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.00117/0.00117, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 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.001451/0.001451, allocations: 163 kB / 24.86 MB, free: 9.289 MB / 18.57 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 0.9753/0.9753, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.698/1.698, allocations: 359 MB / 0.6063 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] 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.362e-06/1.362e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.789e-05, allocations: 2.938 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001738/0.001756, allocations: 1.262 MB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006627/0.002419, allocations: 427.1 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.946e-05/0.002448, allocations: 0 / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.002472, allocations: 3.938 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.323e-05/0.002515, allocations: 0.5 kB / 0.7899 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.003018, allocations: 108.5 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.52e-05/0.003073, allocations: 19.92 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.283e-05/0.003106, allocations: 1.031 kB / 0.79 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.191e-05/0.003138, allocations: 11.98 kB / 0.79 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.256e-05/0.003161, allocations: 11.97 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.003173, allocations: 5.344 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002067/0.00338, allocations: 127.7 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.003395, allocations: 4 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.705e-05/0.003412, allocations: 3.984 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.003571, allocations: 100.8 kB / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.003572, allocations: 0 / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003573, allocations: 0 / 0.7903 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.003577, allocations: 1.562 kB / 0.7903 GB, free: 10.18 MB / 0.7448 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.0003406/0.003918, allocations: 380 kB / 0.7906 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.003952, allocations: 12.03 kB / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.003977, allocations: 5.859 kB / 0.7907 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.696e-05/0.004054, allocations: 108.6 kB / 0.7908 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.004063, allocations: 5.969 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.004072, allocations: 8.375 kB / 0.7908 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.013e-05/0.004132, allocations: 38.23 kB / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.004138, allocations: 192 / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-06/0.004145, allocations: 1.188 kB / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.00415, allocations: 384 / 0.7908 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.244e-05/0.004162, allocations: 12.64 kB / 0.7908 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.148e-05/0.004254, allocations: 101.2 kB / 0.7909 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/0.004315, allocations: 36.47 kB / 0.791 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.426e-05/0.004329, allocations: 11.69 kB / 0.791 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.004336, allocations: 4 kB / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.376e-05/0.00441, allocations: 59.05 kB / 0.791 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.004411, allocations: 0 / 0.791 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001261/0.004537, allocations: 61.67 kB / 0.7911 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.004571, allocations: 59.34 kB / 0.7912 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.004637, allocations: 160.2 kB / 0.7913 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.004648, allocations: 25.7 kB / 0.7913 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.55e-05/0.004683, allocations: 126.9 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.004704, allocations: 15.89 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.004734, allocations: 27.36 kB / 0.7915 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.004856, allocations: 0.4883 MB / 0.792 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.004866, allocations: 4.703 kB / 0.792 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.83e-05/0.004894, allocations: 42.73 kB / 0.792 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.751e-05/0.004942, allocations: 56.86 kB / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.004944, allocations: 0 / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.711e-05/0.005011, allocations: 62.22 kB / 0.7921 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005022, allocations: 8 kB / 0.7921 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005026, allocations: 1.312 kB / 0.7921 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.005033, allocations: 0 / 0.7921 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.005089, allocations: 24.34 kB / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.005092, allocations: 1.156 kB / 0.7922 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.005108, allocations: 3.938 kB / 0.7922 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.005113, allocations: 4 kB / 0.7922 GB, free: 8.035 MB / 0.7448 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 6.916e-05/0.005182, allocations: 161.9 kB / 0.7923 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.00519, allocations: 3.953 kB / 0.7923 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.005211, allocations: 7.688 kB / 0.7923 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.005214, allocations: 9.734 kB / 0.7923 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.005217, allocations: 4 kB / 0.7923 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.00522, allocations: 0 / 0.7923 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.939e-05/0.00532, allocations: 105.2 kB / 0.7924 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.005322, allocations: 0 / 0.7924 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.005341, allocations: 4.812 kB / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.005343, allocations: 0 / 0.7925 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.00535, allocations: 5.562 kB / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.005351, allocations: 0 / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.005352, allocations: 0 / 0.7925 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.005453, allocations: 92.36 kB / 0.7925 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.005462, allocations: 8 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-06/0.00547, allocations: 1.031 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.487e-05/0.005484, allocations: 0 / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.005503, allocations: 11.3 kB / 0.7926 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.005507, allocations: 0 / 0.7926 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.005541, allocations: 119.2 kB / 0.7927 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005541, allocations: 4 kB / 0.7927 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001766/0.005718, allocations: 31.92 kB / 0.7927 GB, free: 7.422 MB / 0.7448 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.0002447/0.005963, allocations: 173 kB / 0.7929 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.916e-05/0.006032, allocations: 33.8 kB / 0.7929 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.006033, allocations: 0 / 0.7929 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.006056, allocations: 27.69 kB / 0.7929 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.271e-05/0.006149, allocations: 5.625 kB / 0.7929 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001742/0.006323, allocations: 120.6 kB / 0.7931 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.689e-05/0.00635, allocations: 55.36 kB / 0.7931 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.612e-05/0.006366, allocations: 3.984 kB / 0.7931 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.006397, allocations: 70.2 kB / 0.7932 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/0.006398, allocations: 0.9062 kB / 0.7932 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.002521/0.008918, allocations: 1.231 MB / 0.7944 GB, free: 5.695 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","",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 filterSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] filterSimulationResults("/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.ref.mat", vars={"y"}, removeDescription=false) [Timeout 300] "" [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 5.031814826186746]