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.0007701/0.0007701, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007676/0.0007676, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.855/0.855, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.628/1.628, allocations: 359 MB / 0.6044 GB, free: 11.1 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.553e-06/1.553e-06, allocations: 0 / 0.9517 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.276e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001525/0.001548, allocations: 1.235 MB / 0.9529 GB, free: 1.805 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006211/0.002169, allocations: 403.2 kB / 0.9533 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.002193, allocations: 0 / 0.9533 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.00221, allocations: 0 / 0.9533 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.002246, allocations: 7.984 kB / 0.9533 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.002715, allocations: 111.4 kB / 0.9534 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.492e-05/0.00277, allocations: 15.94 kB / 0.9534 GB, free: 1.277 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.002809, allocations: 3.984 kB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.093e-05/0.00284, allocations: 8 kB / 0.9534 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.38e-05/0.002864, allocations: 11.97 kB / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.002877, allocations: 0 / 0.9534 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.003065, allocations: 127.7 kB / 0.9536 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.003079, allocations: 7.984 kB / 0.9536 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.68e-05/0.003106, allocations: 7.922 kB / 0.9536 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.00326, allocations: 103.7 kB / 0.9537 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003262, allocations: 0 / 0.9537 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003263, allocations: 0 / 0.9537 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.003267, allocations: 4 kB / 0.9537 GB, free: 1.008 MB / 0.9011 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.0004088/0.003676, allocations: 274.2 kB / 0.9539 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.003708, allocations: 12.03 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.003744, allocations: 0.9375 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.682e-05/0.003811, allocations: 117.7 kB / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.003821, allocations: 384 / 0.9541 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.003831, allocations: 4.375 kB / 0.9541 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.717e-05/0.003908, allocations: 38.25 kB / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.003916, allocations: 192 / 0.9541 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.003925, allocations: 4.359 kB / 0.9541 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.003929, allocations: 4.375 kB / 0.9541 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.996e-05/0.003949, allocations: 7.938 kB / 0.9541 GB, free: 0.4922 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.004057, allocations: 109.3 kB / 0.9542 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.004112, allocations: 30.52 kB / 0.9542 GB, free: 324 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.004132, allocations: 8.859 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.004141, allocations: 4.078 kB / 0.9543 GB, free: 308 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.74e-05/0.004238, allocations: 51.41 kB / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.004239, allocations: 0 / 0.9543 GB, free: 244 kB / 0.9011 GB Notification: Performance of matching and sorting (n=4): time 0.0001527/0.004392, allocations: 73.61 kB / 0.9544 GB, free: 164 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.004423, allocations: 55.41 kB / 0.9544 GB, free: 96 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.004486, allocations: 101.8 kB / 0.9545 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-06/0.004495, allocations: 25.7 kB / 0.9546 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.004522, allocations: 92.12 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.004539, allocations: 7.891 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.004565, allocations: 17.72 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.004633, allocations: 322.8 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.004648, allocations: 4 kB / 0.955 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.974e-05/0.004678, allocations: 31.44 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.594e-05/0.004724, allocations: 51.36 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.004726, allocations: 3.938 kB / 0.9551 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.871e-05/0.004794, allocations: 73.95 kB / 0.9551 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.004806, allocations: 8 kB / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004809, allocations: 0 / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.00482, allocations: 48 / 0.9551 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.00488, allocations: 19.91 kB / 0.9552 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.004885, allocations: 3.938 kB / 0.9552 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.73e-05/0.004902, allocations: 8.094 kB / 0.9552 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.004908, allocations: 0 / 0.9552 GB, free: 15.27 MB / 0.9167 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 5.298e-05/0.004961, allocations: 113.8 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-06/0.004968, allocations: 3.938 kB / 0.9553 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.004987, allocations: 3.688 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.004989, allocations: 4 kB / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.004993, allocations: 0 / 0.9553 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.004997, allocations: 3.938 kB / 0.9553 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.005183, allocations: 117.2 kB / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.005184, allocations: 0 / 0.9554 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-06/0.005192, allocations: 4 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.005194, allocations: 4 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.005199, allocations: 0 / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.005201, allocations: 3.938 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.005202, allocations: 0 / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.823e-05/0.00528, allocations: 89.05 kB / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.005285, allocations: 0 / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-06/0.005293, allocations: 0 / 0.9555 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.23e-05/0.005305, allocations: 7.984 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.005323, allocations: 0 / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.005327, allocations: 0 / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.005351, allocations: 87.22 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.005352, allocations: 4 kB / 0.9556 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001766/0.005528, allocations: 27.92 kB / 0.9556 GB, free: 14.75 MB / 0.9167 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.0002572/0.005785, allocations: 181.6 kB / 0.9558 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.256e-05/0.005868, allocations: 31.92 kB / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.005869, allocations: 0 / 0.9558 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.19e-05/0.005891, allocations: 16.12 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.895e-05/0.00599, allocations: 7.984 kB / 0.9558 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001917/0.006182, allocations: 134.5 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.746e-05/0.006219, allocations: 63.34 kB / 0.956 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.006233, allocations: 8.5 kB / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of SimCode: time 5.41e-07/0.006234, allocations: 0 / 0.956 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of Templates: time 0.00197/0.008203, allocations: 1.221 MB / 0.9572 GB, free: 13.05 MB / 0.9167 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=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] Reference file matches [Calling sys.exit(0), Time elapsed: 6.538734210655093]