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.001591/0.001592, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001678/0.001678, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.427/2.427, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.7781, allocations: 140.4 MB / 0.9491 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002505/0.7806, allocations: 1.268 MB / 0.9503 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.7814, allocations: 413.8 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.7814, allocations: 4 kB / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.7815, allocations: 0 / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.7815, allocations: 0 / 0.9507 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.7821, allocations: 83.42 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.803e-05/0.7822, allocations: 14.86 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.7822, allocations: 2.75 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.7822, allocations: 6.734 kB / 0.9508 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.992e-05/0.7823, allocations: 14.67 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.7823, allocations: 1.375 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.7825, allocations: 94.47 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.7825, allocations: 9.359 kB / 0.9509 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.7825, allocations: 6.688 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.7827, allocations: 86.19 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7827, allocations: 3.938 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7827, allocations: 0 / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.7828, allocations: 0 / 0.951 GB, free: 7.605 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.0003647/0.7831, allocations: 347 kB / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.7832, allocations: 9.219 kB / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.7832, allocations: 2.062 kB / 0.9514 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.7833, allocations: 175.9 kB / 0.9515 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.7833, allocations: 6.062 kB / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.7833, allocations: 1.812 kB / 0.9515 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.7834, allocations: 39.02 kB / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.7834, allocations: 192 / 0.9516 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.7834, allocations: 5.25 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.7834, allocations: 0 / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.7835, allocations: 4.25 kB / 0.9516 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.7836, allocations: 156.4 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.857e-05/0.7837, allocations: 35.42 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.7837, allocations: 13.42 kB / 0.9518 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.7837, allocations: 0 / 0.9518 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.7839, allocations: 60.94 kB / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7839, allocations: 0 / 0.9518 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.7841, allocations: 78.5 kB / 0.9519 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.7842, allocations: 59.33 kB / 0.952 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/0.7842, allocations: 98.98 kB / 0.9521 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.7842, allocations: 25.7 kB / 0.9521 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.7843, allocations: 81.3 kB / 0.9522 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.7843, allocations: 13.22 kB / 0.9522 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.7843, allocations: 23.7 kB / 0.9522 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.7844, allocations: 312.1 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.7844, allocations: 20.3 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.424e-05/0.7845, allocations: 27.12 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.761e-05/0.7845, allocations: 43.97 kB / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7845, allocations: 0 / 0.9526 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.677e-05/0.7846, allocations: 72.58 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.7847, allocations: 9.375 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7847, allocations: 1.312 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.7847, allocations: 1.344 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.7848, allocations: 10.12 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.7848, allocations: 1.438 kB / 0.9527 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.777e-05/0.7848, allocations: 5.281 kB / 0.9527 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.7848, allocations: 7.938 kB / 0.9527 GB, free: 5.816 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.053e-05/0.7849, allocations: 115.5 kB / 0.9528 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.7849, allocations: 5.438 kB / 0.9528 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.7849, allocations: 8.969 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.785, allocations: 0 / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.785, allocations: 1.469 kB / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.785, allocations: 0 / 0.9528 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.145e-05/0.7851, allocations: 153.4 kB / 0.953 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7851, allocations: 0 / 0.953 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.7851, allocations: 2.844 kB / 0.953 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.7851, allocations: 7.875 kB / 0.953 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.7851, allocations: 9.547 kB / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7851, allocations: 0 / 0.953 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7851, allocations: 4 kB / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.7852, allocations: 83.09 kB / 0.9531 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/0.7853, allocations: 86.56 kB / 0.9532 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.7853, allocations: 5.031 kB / 0.9532 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.7853, allocations: 0 / 0.9532 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.7853, allocations: 2.188 kB / 0.9532 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.7853, allocations: 5 kB / 0.9532 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.049e-05/0.7854, allocations: 81.48 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7854, allocations: 0.5 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002545/0.7856, allocations: 32.27 kB / 0.9533 GB, free: 5.188 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.0003315/0.786, allocations: 166 kB / 0.9534 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.7861, allocations: 33.98 kB / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7861, allocations: 0 / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.7861, allocations: 15.25 kB / 0.9535 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.7863, allocations: 5.547 kB / 0.9535 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.7865, allocations: 97.34 kB / 0.9536 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.862e-05/0.7866, allocations: 0.6817 MB / 0.9542 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.7866, allocations: 6.188 kB / 0.9543 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.7867, allocations: 8.875 kB / 0.9543 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7867, allocations: 0 / 0.9543 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of Templates: time 0.00358/0.7903, allocations: 0.996 MB / 0.9552 GB, free: 3.703 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