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.001411/0.001411, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001527/0.001527, allocations: 191.7 kB / 16.13 MB, free: 6.695 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.372/2.372, allocations: 390.2 MB / 0.6642 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 71.89 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6915/0.6928, allocations: 140.3 MB / 0.9489 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00232/0.6952, allocations: 1.277 MB / 0.9502 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000766/0.696, allocations: 412.8 kB / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.911e-05/0.696, allocations: 0 / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.696, allocations: 0 / 0.9505 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.6961, allocations: 9.297 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.6965, allocations: 72.61 kB / 0.9506 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.697e-05/0.6966, allocations: 20.17 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.237e-05/0.6966, allocations: 5.375 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.741e-05/0.6966, allocations: 4.125 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.366e-05/0.6966, allocations: 18.66 kB / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.6967, allocations: 0 / 0.9507 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.6968, allocations: 89.38 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.6969, allocations: 1.344 kB / 0.9508 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.89e-05/0.6969, allocations: 10.47 kB / 0.9508 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.6971, allocations: 82.44 kB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6971, allocations: 3.938 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6971, allocations: 3.984 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.6971, allocations: 7.938 kB / 0.9509 GB, free: 7.734 MB / 0.7169 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.0004675/0.6976, allocations: 341.8 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.6977, allocations: 9.656 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.6977, allocations: 2.125 kB / 0.9512 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.6978, allocations: 171.5 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.6979, allocations: 2.594 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.6979, allocations: 2.562 kB / 0.9514 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.698, allocations: 39.27 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.698, allocations: 4.188 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.6981, allocations: 3.938 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6981, allocations: 1.312 kB / 0.9514 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.421e-05/0.6981, allocations: 15.86 kB / 0.9514 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.6983, allocations: 152.7 kB / 0.9516 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.365e-05/0.6984, allocations: 22.92 kB / 0.9516 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.204e-05/0.6984, allocations: 17.25 kB / 0.9516 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.6984, allocations: 4 kB / 0.9516 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.6986, allocations: 53.12 kB / 0.9517 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.6986, allocations: 3.938 kB / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002229/0.6988, allocations: 73.52 kB / 0.9517 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.6989, allocations: 52.78 kB / 0.9518 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.699, allocations: 102.1 kB / 0.9519 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.699, allocations: 25.7 kB / 0.9519 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.699, allocations: 85.33 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.6991, allocations: 13.28 kB / 0.952 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.6991, allocations: 19.41 kB / 0.952 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.6992, allocations: 316 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.6992, allocations: 16.88 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.6992, allocations: 34.45 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.6993, allocations: 45.31 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6993, allocations: 0 / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001115/0.6994, allocations: 67.84 kB / 0.9525 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.6995, allocations: 9.438 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6995, allocations: 1.25 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.6995, allocations: 1.344 kB / 0.9525 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.6996, allocations: 14.39 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.6996, allocations: 1.25 kB / 0.9525 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.6996, allocations: 10.44 kB / 0.9525 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.6997, allocations: 2.656 kB / 0.9525 GB, free: 5.953 MB / 0.7169 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 7.96e-05/0.6997, allocations: 112.2 kB / 0.9526 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.6998, allocations: 5.578 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.6998, allocations: 7.5 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6998, allocations: 1.281 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6998, allocations: 7.938 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6998, allocations: 9.125 kB / 0.9527 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.6999, allocations: 149.5 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6999, allocations: 0 / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.7, allocations: 2.594 kB / 0.9528 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.7, allocations: 3.938 kB / 0.9528 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.7, allocations: 5.062 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7, allocations: 0 / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7, allocations: 1.219 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000124/0.7001, allocations: 86.05 kB / 0.9529 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.7002, allocations: 82.36 kB / 0.953 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.7002, allocations: 5.375 kB / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.954e-05/0.7002, allocations: 0 / 0.953 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.7003, allocations: 10.45 kB / 0.953 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.7003, allocations: 1.219 kB / 0.953 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.381e-05/0.7003, allocations: 81.5 kB / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7003, allocations: 0 / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002827/0.7006, allocations: 24.94 kB / 0.9531 GB, free: 5.332 MB / 0.7169 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.0004198/0.701, allocations: 167.9 kB / 0.9533 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.7012, allocations: 28.73 kB / 0.9533 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7012, allocations: 0 / 0.9533 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.7012, allocations: 16.11 kB / 0.9533 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.7014, allocations: 7.719 kB / 0.9533 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.7017, allocations: 104.2 kB / 0.9534 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.7019, allocations: 0.6779 MB / 0.9541 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.785e-05/0.7019, allocations: 1.094 kB / 0.9541 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.7019, allocations: 10.28 kB / 0.9541 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.7019, allocations: 0 / 0.9541 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.003604/0.7055, allocations: 0.9955 MB / 0.955 GB, free: 3.84 MB / 0.7169 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