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.001073/0.001073, allocations: 109.7 kB / 16.41 MB, free: 6.465 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.0009812/0.0009812, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.291/1.291, allocations: 222.9 MB / 241 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.175/2.175, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 59.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6561, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.001922/0.658, allocations: 1.221 MB / 1.09 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.6588, allocations: 396.7 kB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.085e-05/0.6588, allocations: 1.062 kB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.797e-05/0.6588, allocations: 3.938 kB / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.192e-05/0.6589, allocations: 0 / 1.09 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.6593, allocations: 102.8 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.67e-05/0.6594, allocations: 18.64 kB / 1.09 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.6594, allocations: 6.422 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.878e-05/0.6594, allocations: 5.109 kB / 1.09 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.729e-05/0.6595, allocations: 17 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.6595, allocations: 1.875 kB / 1.09 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.6597, allocations: 91.2 kB / 1.09 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.6597, allocations: 6.391 kB / 1.09 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.6597, allocations: 7.453 kB / 1.09 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.6599, allocations: 82.3 kB / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6599, allocations: 0 / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6599, allocations: 0 / 1.09 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.66, allocations: 0 / 1.09 GB, free: 4.516 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.0003482/0.6603, allocations: 350.1 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.6604, allocations: 8.969 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.6604, allocations: 2.031 kB / 1.091 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.552e-05/0.6605, allocations: 169 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.6605, allocations: 5.594 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.6605, allocations: 11.27 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.412e-05/0.6606, allocations: 36.64 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.6606, allocations: 192 / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.6606, allocations: 7.938 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-06/0.6606, allocations: 1.125 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.6606, allocations: 4.156 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.6608, allocations: 154.7 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.6608, allocations: 37.28 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.6609, allocations: 14.47 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-06/0.6609, allocations: 5.656 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.878e-05/0.661, allocations: 57.41 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.661, allocations: 0 / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001709/0.6612, allocations: 69.38 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.755e-05/0.6612, allocations: 57.05 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.681e-05/0.6612, allocations: 99.45 kB / 1.092 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.236e-06/0.6612, allocations: 27.14 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.592e-05/0.6613, allocations: 81.41 kB / 1.092 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.6613, allocations: 18.42 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.6613, allocations: 20.8 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.511e-05/0.6614, allocations: 313.3 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.6614, allocations: 9.5 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.228e-05/0.6614, allocations: 29.09 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.6615, allocations: 50.48 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6615, allocations: 0 / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.008e-05/0.6616, allocations: 69.83 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.6616, allocations: 4.969 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6616, allocations: 5.844 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.6616, allocations: 2.562 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.6617, allocations: 10.53 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.6617, allocations: 10.12 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.6617, allocations: 2.172 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.6617, allocations: 6.125 kB / 1.092 GB, free: 2.777 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 4.48e-05/0.6618, allocations: 109.5 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.6618, allocations: 2.453 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.6618, allocations: 12 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6618, allocations: 1.719 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6618, allocations: 4 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.6619, allocations: 86.64 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.6619, allocations: 1.75 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.176e-05/0.6619, allocations: 1.094 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.6619, allocations: 1.844 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001021/0.662, allocations: 139.5 kB / 1.092 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001042/0.6622, allocations: 235.9 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.792e-05/0.6622, allocations: 15.45 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.791e-05/0.6622, allocations: 83.69 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of Backend: time 2.11e-07/0.6622, allocations: 0 / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.6627, allocations: 150.4 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0002209/0.663, allocations: 0.5475 MB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of Templates: time 0.003349/0.6663, allocations: 1.04 MB / 1.095 GB, free: 1.32 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/jenkins1/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