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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001122/0.001123, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001309/0.001309, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.085/3.085, allocations: 462.6 MB / 0.736 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003973, allocations: 13.5 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3938, allocations: 159.6 MB / 1.058 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001317/0.3952, allocations: 0.9315 MB / 1.059 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008294/0.396, allocations: 379.1 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.3961, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.3961, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.3962, allocations: 0 / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.3967, allocations: 83.78 kB / 1.059 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.135e-05/0.3967, allocations: 11.94 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.3968, allocations: 3.984 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.337e-05/0.3968, allocations: 8 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.986e-05/0.3969, allocations: 4 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3969, allocations: 0 / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.3971, allocations: 87.84 kB / 1.059 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.3971, allocations: 7.922 kB / 1.059 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.3971, allocations: 29.7 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.3973, allocations: 63.89 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3973, allocations: 0 / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3973, allocations: 4 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.3973, allocations: 0 / 1.06 GB, free: 3.742 MB / 0.8106 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.0004955/0.3978, allocations: 335.3 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3979, allocations: 8.031 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.3979, allocations: 7.938 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3981, allocations: 167.3 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3981, allocations: 4 kB / 1.06 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.3981, allocations: 7.953 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.3982, allocations: 37.69 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3982, allocations: 0 / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3983, allocations: 0 / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.3983, allocations: 4 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.42e-05/0.3983, allocations: 0 / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.3985, allocations: 161.7 kB / 1.06 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.391e-05/0.3986, allocations: 26.52 kB / 1.06 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.3986, allocations: 12.86 kB / 1.06 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.3986, allocations: 15.89 kB / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.3988, allocations: 59.39 kB / 1.06 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3988, allocations: 3.938 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002023/0.399, allocations: 69.61 kB / 1.06 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.399, allocations: 51.41 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.3991, allocations: 102 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3992, allocations: 29.7 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.3992, allocations: 88.12 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3992, allocations: 7.906 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.3992, allocations: 0 / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3994, allocations: 310.8 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.049e-05/0.3994, allocations: 8 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.652e-05/0.3994, allocations: 35.42 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.3995, allocations: 12 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3995, allocations: 0 / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001023/0.3996, allocations: 77.42 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3996, allocations: 7.984 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3996, allocations: 0 / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3996, allocations: 4 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.416e-05/0.3997, allocations: 8 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3997, allocations: 8.094 kB / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.3998, allocations: 0 / 1.061 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3998, allocations: 4 kB / 1.061 GB, free: 1.871 MB / 0.8106 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.78e-05/0.3999, allocations: 109.8 kB / 1.061 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.3999, allocations: 11.95 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.3999, allocations: 7.484 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.3999, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3999, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3999, allocations: 0 / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.4001, allocations: 157.7 kB / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4001, allocations: 0 / 1.061 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.4001, allocations: 4 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4001, allocations: 0 / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.4001, allocations: 3.953 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.4001, allocations: 4 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4001, allocations: 0 / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.4002, allocations: 85.11 kB / 1.062 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.4003, allocations: 88.89 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.4003, allocations: 4 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.4003, allocations: 3.953 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.4004, allocations: 11.92 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-06/0.4004, allocations: 0 / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.4004, allocations: 87.22 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4004, allocations: 0 / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002336/0.4007, allocations: 27.98 kB / 1.062 GB, free: 1.18 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003494/0.401, allocations: 165.9 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.856e-05/0.4011, allocations: 27.92 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4011, allocations: 0 / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.4012, allocations: 12 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.4013, allocations: 0 / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.4016, allocations: 116.9 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.4019, allocations: 0.677 MB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.377e-05/0.4019, allocations: 4 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.78e-05/0.4019, allocations: 7.438 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.4019, allocations: 3.938 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of Templates: time 0.003394/0.4053, allocations: 0.9758 MB / 1.064 GB, free: 15.14 MB / 0.8262 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=480 -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