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.006346/0.006345, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001295/0.001295, allocations: 196.9 kB / 16.67 MB, free: 5.926 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.219/2.219, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 67.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.883/0.8841, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00253/0.8867, allocations: 1.209 MB / 1.089 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008901/0.8876, allocations: 404.4 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.176e-05/0.8877, allocations: 0 / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.8877, allocations: 7.938 kB / 1.089 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.255e-05/0.8878, allocations: 5.328 kB / 1.089 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.8884, allocations: 95.19 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.72e-05/0.8885, allocations: 17.61 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.8885, allocations: 2.156 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.8886, allocations: 9.734 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.425e-05/0.8886, allocations: 12.97 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.8886, allocations: 1.438 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.8889, allocations: 94.02 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.8889, allocations: 3.422 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.8889, allocations: 15.5 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.8892, allocations: 77.55 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.8892, allocations: 1.344 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.005e-06/0.8892, allocations: 0 / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.8892, allocations: 0 / 1.09 GB, free: 4.266 MB / 0.8575 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.0004554/0.8897, allocations: 349.2 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8897, allocations: 10.06 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.8898, allocations: 2.828 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.8899, allocations: 174.5 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.8899, allocations: 6.109 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.8899, allocations: 1.719 kB / 1.09 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.89, allocations: 35.89 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.89, allocations: 1.281 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.8901, allocations: 8.734 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.8901, allocations: 0.9375 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.8901, allocations: 4.203 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.8903, allocations: 154.2 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.201e-05/0.8904, allocations: 40.89 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.8904, allocations: 11.34 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.8904, allocations: 0 / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.8906, allocations: 58.08 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.8906, allocations: 0 / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002332/0.8908, allocations: 69.52 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.8909, allocations: 61.25 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.8909, allocations: 100.6 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.891, allocations: 25.7 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.891, allocations: 85.94 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.891, allocations: 6.297 kB / 1.091 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.8911, allocations: 20.73 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.8912, allocations: 317.7 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.8912, allocations: 5.828 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.8912, allocations: 37 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.558e-05/0.8913, allocations: 53.97 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8913, allocations: 1.094 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001104/0.8914, allocations: 69.22 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.8914, allocations: 9.594 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.8915, allocations: 1.625 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.8915, allocations: 1.125 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.8916, allocations: 19.97 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.8916, allocations: 1.094 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.825e-05/0.8916, allocations: 2.969 kB / 1.091 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.8916, allocations: 2.281 kB / 1.091 GB, free: 2.531 MB / 0.8575 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.206e-05/0.8917, allocations: 113 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.8917, allocations: 9.656 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.8918, allocations: 5.203 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8918, allocations: 1.812 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8918, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.8918, allocations: 0 / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.759e-05/0.8919, allocations: 161 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.8919, allocations: 0 / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.449e-05/0.8919, allocations: 2.469 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8919, allocations: 5.75 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.8919, allocations: 0.6094 kB / 1.092 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8919, allocations: 4 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.8919, allocations: 2.312 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.892, allocations: 88.28 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.002e-05/0.8921, allocations: 78.88 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.8921, allocations: 5.609 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.8921, allocations: 1.734 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.8922, allocations: 2.172 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.8922, allocations: 5.906 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.8922, allocations: 82.61 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8922, allocations: 0 / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003093/0.8925, allocations: 30.64 kB / 1.092 GB, free: 1.93 MB / 0.8575 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.0004086/0.893, allocations: 158.8 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.8931, allocations: 33.14 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.8931, allocations: 4.844 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.8932, allocations: 12.89 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.8933, allocations: 5 kB / 1.092 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.8936, allocations: 107.5 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.8937, allocations: 0.6805 MB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.237e-05/0.8937, allocations: 2.734 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.8937, allocations: 13.72 kB / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.8937, allocations: 0 / 1.093 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of Templates: time 0.004085/0.8978, allocations: 1.02 MB / 1.094 GB, free: 0.8398 MB / 0.8575 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