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.006978/0.006978, allocations: 105.9 kB / 15.73 MB, free: 6 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.001349/0.001349, allocations: 189 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.453/1.453, allocations: 222.9 MB / 240.3 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.304/2.304, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9691, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00235/0.9715, allocations: 1.217 MB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00087/0.9724, allocations: 406.6 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.9724, allocations: 0.875 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.9725, allocations: 3.938 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.9725, allocations: 0.75 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005545/0.9731, allocations: 98.3 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.868e-05/0.9731, allocations: 27.31 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.9732, allocations: 2.109 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.554e-05/0.9732, allocations: 5.078 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.9733, allocations: 13.12 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.9733, allocations: 1.188 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.9735, allocations: 90.77 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.9735, allocations: 6.281 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.9736, allocations: 8.609 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.9738, allocations: 81.38 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9738, allocations: 1.094 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9738, allocations: 4 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9738, allocations: 0 / 1.09 GB, free: 4.277 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.0004372/0.9743, allocations: 345.3 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.9743, allocations: 10.06 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.9743, allocations: 3.094 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.9744, allocations: 174.6 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.9744, allocations: 1.375 kB / 1.09 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.9745, allocations: 6.859 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.9746, allocations: 39.86 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.9746, allocations: 192 / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.9746, allocations: 5.547 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.9746, allocations: 0 / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.9747, allocations: 4.328 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.9748, allocations: 154.9 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.015e-05/0.9749, allocations: 36.64 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.9749, allocations: 18.92 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.9749, allocations: 5.453 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.9751, allocations: 53.72 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.9751, allocations: 0 / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000212/0.9753, allocations: 76.66 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.9753, allocations: 53.23 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.9754, allocations: 99.95 kB / 1.091 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.9754, allocations: 30.77 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.9754, allocations: 82.11 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.9755, allocations: 10.42 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.9755, allocations: 20.97 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.9756, allocations: 312.9 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.9756, allocations: 5.812 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.48e-05/0.9756, allocations: 36.47 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.733e-05/0.9757, allocations: 50.66 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9757, allocations: 0 / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001013/0.9758, allocations: 70.17 kB / 1.091 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.9758, allocations: 9.156 kB / 1.091 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9758, allocations: 5.406 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.9759, allocations: 6.812 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.9759, allocations: 10.64 kB / 1.091 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.9759, allocations: 5.578 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.976, allocations: 2.312 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.976, allocations: 3.141 kB / 1.091 GB, free: 2.543 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 5.945e-05/0.9761, allocations: 112.7 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.9761, allocations: 5.734 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.9761, allocations: 5.594 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.9761, allocations: 4 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.9761, allocations: 1.062 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.9761, allocations: 0.6094 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.604e-05/0.9762, allocations: 156 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.9762, allocations: 0 / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.9762, allocations: 3.359 kB / 1.092 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.9762, allocations: 3.938 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.9763, allocations: 1.781 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9763, allocations: 3.938 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9763, allocations: 1.359 kB / 1.092 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.9764, allocations: 93.16 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.881e-05/0.9764, allocations: 78.91 kB / 1.092 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.9764, allocations: 5.516 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.9765, allocations: 1.578 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.9765, allocations: 2.516 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.9765, allocations: 6.016 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.9765, allocations: 78.55 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9765, allocations: 1.062 kB / 1.092 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002653/0.9768, allocations: 34.23 kB / 1.092 GB, free: 1.941 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.0003402/0.9772, allocations: 166.9 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.9773, allocations: 28.91 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9773, allocations: 0 / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.9773, allocations: 18.09 kB / 1.092 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.9775, allocations: 12.59 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.9777, allocations: 103.2 kB / 1.092 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.9778, allocations: 0.6801 MB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.9779, allocations: 3.125 kB / 1.093 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.9779, allocations: 9.719 kB / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.9779, allocations: 0 / 1.093 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of Templates: time 0.003882/0.9818, allocations: 1.006 MB / 1.094 GB, free: 0.8594 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