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.001244/0.001244, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.001484/0.001484, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.26 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.267/2.267, allocations: 390.3 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 62.95 kB / 0.8127 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2656, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002396/0.2681, allocations: 1.278 MB / 0.951 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.2689, allocations: 404.8 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.317e-05/0.2689, allocations: 0 / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.2689, allocations: 0 / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.269, allocations: 3.938 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.2696, allocations: 79.86 kB / 0.9515 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.2696, allocations: 15.94 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.2697, allocations: 11.98 kB / 0.9515 GB, free: 7.449 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.2697, allocations: 3.984 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.789e-05/0.2698, allocations: 11.94 kB / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.2698, allocations: 0 / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.27, allocations: 95.89 kB / 0.9516 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.27, allocations: 3.938 kB / 0.9516 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.27, allocations: 7.938 kB / 0.9516 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.2702, allocations: 63.84 kB / 0.9517 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2702, allocations: 0 / 0.9517 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2702, allocations: 0 / 0.9517 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.2702, allocations: 0 / 0.9517 GB, free: 7.266 MB / 0.7325 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.0004374/0.2707, allocations: 355.5 kB / 0.952 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.2707, allocations: 12.03 kB / 0.952 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.2708, allocations: 4.875 kB / 0.952 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2709, allocations: 172.6 kB / 0.9522 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2709, allocations: 8.375 kB / 0.9522 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.2709, allocations: 384 / 0.9522 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.2711, allocations: 38.25 kB / 0.9522 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.2711, allocations: 192 / 0.9522 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.2711, allocations: 7.938 kB / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2711, allocations: 4 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.891e-05/0.2711, allocations: 3.938 kB / 0.9523 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.2713, allocations: 157.6 kB / 0.9524 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.852e-05/0.2714, allocations: 30.61 kB / 0.9524 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.2714, allocations: 12.86 kB / 0.9524 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.2714, allocations: 0 / 0.9524 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.2716, allocations: 59.48 kB / 0.9525 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2716, allocations: 0 / 0.9525 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001965/0.2718, allocations: 81.53 kB / 0.9526 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.2718, allocations: 51.41 kB / 0.9526 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.2719, allocations: 93.86 kB / 0.9527 GB, free: 6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2719, allocations: 33.7 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/0.272, allocations: 84.12 kB / 0.9528 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/0.272, allocations: 7.906 kB / 0.9528 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.2721, allocations: 21.72 kB / 0.9529 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2722, allocations: 314.8 kB / 0.9532 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.2722, allocations: 7.984 kB / 0.9532 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/0.2722, allocations: 31.44 kB / 0.9532 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.077e-05/0.2723, allocations: 51.36 kB / 0.9533 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2723, allocations: 0 / 0.9533 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001101/0.2724, allocations: 73.47 kB / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2725, allocations: 7.938 kB / 0.9533 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.2725, allocations: 4 kB / 0.9533 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.2725, allocations: 0 / 0.9533 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.2726, allocations: 11.98 kB / 0.9533 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2726, allocations: 4.094 kB / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.2726, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.2726, allocations: 7.938 kB / 0.9534 GB, free: 5.297 MB / 0.7325 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 8.532e-05/0.2727, allocations: 117.8 kB / 0.9535 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.2727, allocations: 3.938 kB / 0.9535 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.2728, allocations: 3.5 kB / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2728, allocations: 0 / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2728, allocations: 3.938 kB / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2728, allocations: 4 kB / 0.9535 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.2729, allocations: 157.7 kB / 0.9536 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2729, allocations: 0 / 0.9536 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.857e-05/0.2729, allocations: 3.984 kB / 0.9536 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.273, allocations: 3.938 kB / 0.9536 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.273, allocations: 0 / 0.9536 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.273, allocations: 4 kB / 0.9536 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.273, allocations: 0 / 0.9536 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.2731, allocations: 93.02 kB / 0.9537 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.2732, allocations: 85.05 kB / 0.9538 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.2732, allocations: 11.94 kB / 0.9538 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.2732, allocations: 0 / 0.9538 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.2732, allocations: 0 / 0.9538 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.2732, allocations: 4 kB / 0.9538 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.17e-05/0.2733, allocations: 79.73 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.603e-06/0.2733, allocations: 0 / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002523/0.2735, allocations: 31.94 kB / 0.9539 GB, free: 4.602 MB / 0.7325 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.0003226/0.2739, allocations: 165 kB / 0.9541 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.274, allocations: 35.92 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.274, allocations: 0 / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.274, allocations: 11.98 kB / 0.9541 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.2742, allocations: 0 / 0.9541 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.2744, allocations: 134.9 kB / 0.9543 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.2747, allocations: 0.6805 MB / 0.9549 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.2747, allocations: 11.44 kB / 0.9549 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.2747, allocations: 0 / 0.9549 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.002851/0.2776, allocations: 1.156 MB / 0.9561 GB, free: 2.363 MB / 0.7325 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