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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.005301/0.005301, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001235/0.001235, allocations: 190.6 kB / 16.79 MB, free: 5.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.6649 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.725/0.7264, allocations: 140.4 MB / 0.9496 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002029/0.7285, allocations: 1.282 MB / 0.9508 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.7293, allocations: 412.8 kB / 0.9512 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.7293, allocations: 4 kB / 0.9512 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.106e-05/0.7293, allocations: 0 / 0.9512 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.712e-05/0.7294, allocations: 3.938 kB / 0.9512 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.7298, allocations: 77.44 kB / 0.9513 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.838e-05/0.7298, allocations: 16.53 kB / 0.9513 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.7299, allocations: 1.594 kB / 0.9513 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.932e-05/0.7299, allocations: 10.92 kB / 0.9513 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.388e-05/0.7299, allocations: 6.781 kB / 0.9513 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.7299, allocations: 1.125 kB / 0.9513 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.7301, allocations: 89.28 kB / 0.9514 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.7301, allocations: 9.266 kB / 0.9514 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.7302, allocations: 5.781 kB / 0.9514 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.7303, allocations: 65.2 kB / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7303, allocations: 0 / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7303, allocations: 0 / 0.9515 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.7303, allocations: 0 / 0.9515 GB, free: 7.539 MB / 0.7169 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.0003536/0.7307, allocations: 351 kB / 0.9518 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.7307, allocations: 13.47 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.7307, allocations: 1.938 kB / 0.9518 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.832e-05/0.7308, allocations: 167.3 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.7308, allocations: 1.938 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.7308, allocations: 1.875 kB / 0.952 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.581e-05/0.7309, allocations: 45.05 kB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7309, allocations: 192 / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.731, allocations: 3.938 kB / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.731, allocations: 0 / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.444e-05/0.731, allocations: 7.938 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.7311, allocations: 152.7 kB / 0.9522 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.44e-05/0.7312, allocations: 38.33 kB / 0.9522 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.7312, allocations: 9.641 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.968e-06/0.7312, allocations: 1.125 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.7314, allocations: 55.92 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.7314, allocations: 0 / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001952/0.7316, allocations: 81.81 kB / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.7316, allocations: 56.86 kB / 0.9524 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.7317, allocations: 98.19 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.7317, allocations: 31.11 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.988e-05/0.7317, allocations: 80.14 kB / 0.9526 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.7317, allocations: 10.69 kB / 0.9526 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.7318, allocations: 21.86 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.44e-05/0.7318, allocations: 316.3 kB / 0.953 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.7318, allocations: 9.5 kB / 0.953 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.862e-05/0.7319, allocations: 33.48 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.7319, allocations: 44.69 kB / 0.9531 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7319, allocations: 3.938 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.872e-05/0.732, allocations: 73.11 kB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7321, allocations: 8.906 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.7321, allocations: 5.375 kB / 0.9531 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.7321, allocations: 1.406 kB / 0.9531 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.7321, allocations: 6.719 kB / 0.9531 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7322, allocations: 1.562 kB / 0.9532 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.7322, allocations: 5.406 kB / 0.9532 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.7322, allocations: 2.938 kB / 0.9532 GB, free: 5.754 MB / 0.7169 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 4.946e-05/0.7323, allocations: 121.3 kB / 0.9533 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.7323, allocations: 3.938 kB / 0.9533 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.7323, allocations: 4.75 kB / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.7323, allocations: 0 / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7323, allocations: 1.344 kB / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.7323, allocations: 0 / 0.9533 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.112e-05/0.7324, allocations: 157.4 kB / 0.9534 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7324, allocations: 0 / 0.9534 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.7324, allocations: 10.53 kB / 0.9534 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.7324, allocations: 3.938 kB / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.7324, allocations: 5.438 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7324, allocations: 3.984 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7324, allocations: 1.25 kB / 0.9535 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/0.7325, allocations: 78.34 kB / 0.9535 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.7326, allocations: 82.48 kB / 0.9536 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.7326, allocations: 17.3 kB / 0.9536 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/0.7326, allocations: 0 / 0.9536 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.911e-05/0.7326, allocations: 1.312 kB / 0.9536 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.7327, allocations: 5.344 kB / 0.9536 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.7327, allocations: 77.94 kB / 0.9537 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7327, allocations: 0 / 0.9537 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002581/0.7329, allocations: 32.48 kB / 0.9537 GB, free: 5.121 MB / 0.7169 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.0003164/0.7333, allocations: 165.4 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.7334, allocations: 29.86 kB / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.7334, allocations: 0 / 0.9539 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.7334, allocations: 16.19 kB / 0.9539 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.7336, allocations: 6.344 kB / 0.9539 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.7338, allocations: 128.1 kB / 0.9541 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.7339, allocations: 0.6783 MB / 0.9547 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.7339, allocations: 9.562 kB / 0.9547 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of SimCode: time 1.91e-07/0.7339, allocations: 4 kB / 0.9547 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of Templates: time 0.002638/0.7366, allocations: 1.16 MB / 0.9559 GB, free: 3.535 MB / 0.7169 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