Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 108.4 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 71.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7872, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002173/0.7894, allocations: 1.204 MB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.7901, allocations: 406.6 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.7902, allocations: 5.406 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.7902, allocations: 0 / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.7902, allocations: 3.938 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.7908, allocations: 94.83 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.7909, allocations: 22.7 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.7909, allocations: 1.891 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.7909, allocations: 4.984 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.036e-05/0.791, allocations: 13.36 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.791, allocations: 1.031 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.7912, allocations: 95.75 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.7913, allocations: 10.33 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.7913, allocations: 10.92 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.7915, allocations: 74.27 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.7915, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7915, allocations: 0 / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.7915, allocations: 1.297 kB / 1.09 GB, free: 4.289 MB / 0.8575 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.0004289/0.792, allocations: 344.4 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.792, allocations: 10.69 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.7921, allocations: 10.69 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.794e-05/0.7921, allocations: 170.8 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.7922, allocations: 6.359 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.7922, allocations: 5.531 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.7923, allocations: 35.95 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.7923, allocations: 192 / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.7923, allocations: 9.859 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.7923, allocations: 0 / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.83e-05/0.7924, allocations: 8.766 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.7925, allocations: 154.5 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.65e-05/0.7926, allocations: 36.94 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.894e-05/0.7926, allocations: 10.89 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-06/0.7926, allocations: 1.281 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.7928, allocations: 56.91 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7928, allocations: 0 / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000192/0.793, allocations: 74.02 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.793, allocations: 57.25 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.603e-05/0.7931, allocations: 99.88 kB / 1.092 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.7931, allocations: 26.52 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.97e-05/0.7931, allocations: 81.81 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.7931, allocations: 10.12 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.7932, allocations: 20.66 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.7932, allocations: 313.8 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.7932, allocations: 14.42 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-05/0.7933, allocations: 39.95 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.428e-05/0.7933, allocations: 42.14 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.7933, allocations: 4.906 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.726e-05/0.7934, allocations: 73.45 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.7935, allocations: 9.344 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.7935, allocations: 1.031 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7935, allocations: 2.5 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.7936, allocations: 7.578 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.7936, allocations: 5.719 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.776e-05/0.7936, allocations: 5.062 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.7936, allocations: 3.578 kB / 1.092 GB, free: 2.551 MB / 0.8575 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.515e-05/0.7937, allocations: 119.4 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.7937, allocations: 5.922 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.7937, allocations: 9.422 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.7937, allocations: 0 / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.7937, allocations: 1.891 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7938, allocations: 0 / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.902e-05/0.7938, allocations: 155 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.7938, allocations: 2.047 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.7939, allocations: 1.25 kB / 1.092 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7939, allocations: 4.969 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.7939, allocations: 8.641 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.7939, allocations: 1.734 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7939, allocations: 0 / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.794, allocations: 94.27 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.794, allocations: 79.03 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.7941, allocations: 4.5 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.7941, allocations: 1.594 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.7941, allocations: 5.75 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.7941, allocations: 3.016 kB / 1.093 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.7941, allocations: 82.78 kB / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7942, allocations: 0 / 1.093 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002662/0.7944, allocations: 26.95 kB / 1.093 GB, free: 1.945 MB / 0.8575 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.0003252/0.7948, allocations: 159.8 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.7949, allocations: 33.53 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7949, allocations: 1.094 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.7949, allocations: 16.8 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.7951, allocations: 2.359 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.7953, allocations: 129.6 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.7954, allocations: 0.6794 MB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.7954, allocations: 9.844 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.7954, allocations: 4.188 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of Templates: time 0.00328/0.7987, allocations: 1.161 MB / 1.095 GB, free: 0.8555 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches