Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001707/0.001707, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001924/0.001925, allocations: 195.5 kB / 16.25 MB, free: 6.625 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 482.4 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 68.39 kB / 0.9233 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3135, allocations: 162.2 MB / 1.082 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002977/0.3165, allocations: 1.285 MB / 1.083 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009062/0.3175, allocations: 406.7 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.722e-05/0.3175, allocations: 0 / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3175, allocations: 0 / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.3176, allocations: 0 / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.3183, allocations: 91.8 kB / 1.083 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.728e-05/0.3183, allocations: 8 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.3184, allocations: 3.984 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.036e-05/0.3184, allocations: 15.92 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.741e-05/0.3185, allocations: 7.984 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.3185, allocations: 0 / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.3187, allocations: 95.84 kB / 1.084 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.3188, allocations: 0 / 1.084 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.3188, allocations: 11.94 kB / 1.084 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.319, allocations: 83.81 kB / 1.084 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.319, allocations: 4 kB / 1.084 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.607e-06/0.319, allocations: 0 / 1.084 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.319, allocations: 3.938 kB / 1.084 GB, free: 11.64 MB / 0.8419 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.000539/0.3196, allocations: 347.5 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3196, allocations: 12.03 kB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.3197, allocations: 0.9375 kB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3198, allocations: 168.6 kB / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3198, allocations: 384 / 1.084 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.3199, allocations: 4.375 kB / 1.084 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.32, allocations: 46.23 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.32, allocations: 192 / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.32, allocations: 3.938 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.32, allocations: 4 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.725e-05/0.3201, allocations: 0 / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.3203, allocations: 161.6 kB / 1.084 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.163e-05/0.3204, allocations: 30.52 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.3204, allocations: 20.94 kB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.3204, allocations: 0 / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3206, allocations: 51.41 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.3206, allocations: 0 / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002258/0.3209, allocations: 77.55 kB / 1.085 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.3209, allocations: 51.41 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.321, allocations: 105.8 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.3211, allocations: 33.7 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.3211, allocations: 80.14 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3211, allocations: 3.906 kB / 1.085 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.3212, allocations: 21.72 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002241/0.3214, allocations: 318.8 kB / 1.085 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.3214, allocations: 7.938 kB / 1.085 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.894e-05/0.3215, allocations: 39.42 kB / 1.085 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.851e-05/0.3216, allocations: 43.38 kB / 1.085 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3216, allocations: 0 / 1.085 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001142/0.3217, allocations: 69.56 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3217, allocations: 7.938 kB / 1.085 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3217, allocations: 8.094 kB / 1.085 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3218, allocations: 0 / 1.085 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.3218, allocations: 11.98 kB / 1.085 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.3218, allocations: 0 / 1.085 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.3219, allocations: 0 / 1.085 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.3219, allocations: 4 kB / 1.085 GB, free: 9.691 MB / 0.8419 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 0.0001016/0.322, allocations: 117.8 kB / 1.085 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.322, allocations: 8.266 kB / 1.085 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.322, allocations: 3.5 kB / 1.085 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.322, allocations: 4 kB / 1.085 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3221, allocations: 0 / 1.085 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.3221, allocations: 11.97 kB / 1.085 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3222, allocations: 157.7 kB / 1.086 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3222, allocations: 3.938 kB / 1.086 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.3223, allocations: 0 / 1.086 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3223, allocations: 7.875 kB / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3223, allocations: 0 / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3223, allocations: 4 kB / 1.086 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3223, allocations: 0 / 1.086 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.3224, allocations: 85.11 kB / 1.086 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.3225, allocations: 81.05 kB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3225, allocations: 7.938 kB / 1.086 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.489e-05/0.3226, allocations: 4 kB / 1.086 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.658e-05/0.3226, allocations: 0 / 1.086 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3226, allocations: 7.984 kB / 1.086 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.738e-05/0.3227, allocations: 75.28 kB / 1.086 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3227, allocations: 0 / 1.086 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002809/0.323, allocations: 32 kB / 1.086 GB, free: 8.996 MB / 0.8419 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.0003979/0.3234, allocations: 158.7 kB / 1.086 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.3235, allocations: 27.98 kB / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3235, allocations: 0 / 1.086 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.42e-05/0.3235, allocations: 20.39 kB / 1.086 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.3237, allocations: 4 kB / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.3239, allocations: 109.1 kB / 1.086 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.3243, allocations: 0.6806 MB / 1.087 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.3243, allocations: 4 kB / 1.087 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.3243, allocations: 7.438 kB / 1.087 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.3243, allocations: 0 / 1.087 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of Templates: time 0.003904/0.3282, allocations: 1.011 MB / 1.088 GB, free: 6.934 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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