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.0007937/0.0007939, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.006309/0.006309, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.408/2.408, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 12 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7381, allocations: 142.4 MB / 0.955 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001875/0.7401, allocations: 0.9431 MB / 0.9559 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.7411, allocations: 401.5 kB / 0.9563 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.7412, allocations: 5.406 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.7412, allocations: 0 / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.641e-05/0.7413, allocations: 0 / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.742, allocations: 85.62 kB / 0.9564 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.742, allocations: 11.22 kB / 0.9564 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.834e-05/0.7421, allocations: 5.297 kB / 0.9564 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.07e-05/0.7421, allocations: 3.281 kB / 0.9564 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.521e-05/0.7422, allocations: 14.7 kB / 0.9564 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.7422, allocations: 2.562 kB / 0.9565 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003034/0.7425, allocations: 92.52 kB / 0.9565 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.7425, allocations: 8 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.7426, allocations: 33.39 kB / 0.9566 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.7429, allocations: 84.59 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7429, allocations: 1.031 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.415e-06/0.7429, allocations: 0 / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.7429, allocations: 0 / 0.9567 GB, free: 6.367 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.0005241/0.7434, allocations: 343.5 kB / 0.957 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.7435, allocations: 8.719 kB / 0.957 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.7435, allocations: 3.281 kB / 0.957 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.7437, allocations: 167.5 kB / 0.9572 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.7437, allocations: 1.719 kB / 0.9572 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.7437, allocations: 6.344 kB / 0.9572 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.7438, allocations: 43.14 kB / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.7438, allocations: 192 / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.7439, allocations: 5.25 kB / 0.9572 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.7439, allocations: 3.938 kB / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.7439, allocations: 3.25 kB / 0.9572 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.7441, allocations: 153 kB / 0.9574 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.029e-05/0.7442, allocations: 38.38 kB / 0.9574 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.7442, allocations: 14.11 kB / 0.9574 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.7442, allocations: 1.25 kB / 0.9574 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.7444, allocations: 56.27 kB / 0.9575 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.7444, allocations: 0 / 0.9575 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002522/0.7447, allocations: 74.06 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.7447, allocations: 60.7 kB / 0.9576 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.7448, allocations: 100.9 kB / 0.9577 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.7449, allocations: 26.73 kB / 0.9577 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.7449, allocations: 85.14 kB / 0.9578 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.7449, allocations: 9.906 kB / 0.9578 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.745, allocations: 19.61 kB / 0.9578 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.745, allocations: 311.8 kB / 0.9581 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.745, allocations: 12.38 kB / 0.9581 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.7451, allocations: 31.11 kB / 0.9582 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.024e-05/0.7452, allocations: 44.56 kB / 0.9582 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7452, allocations: 0 / 0.9582 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001005/0.7453, allocations: 72.45 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.7453, allocations: 9.5 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.7453, allocations: 1.094 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7453, allocations: 1.125 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.7454, allocations: 10.41 kB / 0.9583 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.7454, allocations: 2.438 kB / 0.9583 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.7455, allocations: 5.188 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.7455, allocations: 6.188 kB / 0.9583 GB, free: 4.586 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 6.376e-05/0.7455, allocations: 117.1 kB / 0.9584 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/0.7456, allocations: 5 kB / 0.9584 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.7456, allocations: 8.625 kB / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7456, allocations: 0 / 0.9584 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.7456, allocations: 5.25 kB / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7456, allocations: 0 / 0.9584 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.549e-05/0.7457, allocations: 149.2 kB / 0.9586 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7457, allocations: 1.25 kB / 0.9586 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.7457, allocations: 1.062 kB / 0.9586 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.7457, allocations: 5.156 kB / 0.9586 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.7457, allocations: 5.188 kB / 0.9586 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7457, allocations: 0 / 0.9586 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7457, allocations: 0 / 0.9586 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.739e-05/0.7458, allocations: 91.28 kB / 0.9587 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.7459, allocations: 86.75 kB / 0.9588 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.7459, allocations: 13.16 kB / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.7459, allocations: 0 / 0.9588 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.7459, allocations: 5.281 kB / 0.9588 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.746, allocations: 6.375 kB / 0.9588 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.992e-05/0.746, allocations: 76.75 kB / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.746, allocations: 0 / 0.9589 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000289/0.7463, allocations: 33.98 kB / 0.9589 GB, free: 3.953 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.0002965/0.7466, allocations: 161.9 kB / 0.9591 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.577e-05/0.7467, allocations: 32.83 kB / 0.9591 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7467, allocations: 0 / 0.9591 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.7467, allocations: 8 kB / 0.9591 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.7469, allocations: 7.359 kB / 0.9591 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.7471, allocations: 106.4 kB / 0.9592 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.7472, allocations: 0.673 MB / 0.9599 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.7472, allocations: 10.92 kB / 0.9599 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.7472, allocations: 8.781 kB / 0.9599 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.7473, allocations: 1.375 kB / 0.9599 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of Templates: time 0.003802/0.7511, allocations: 0.9756 MB / 0.9608 GB, free: 2.484 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y