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.001272/0.001272, 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.001385/0.001385, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.414/2.414, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.91 kB / 0.8118 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8222, allocations: 140.4 MB / 0.9489 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.00243/0.8246, allocations: 1.274 MB / 0.9501 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.8258, allocations: 419 kB / 0.9505 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.8258, allocations: 1.031 kB / 0.9505 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.8258, allocations: 0 / 0.9505 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.251e-05/0.8259, allocations: 3.984 kB / 0.9506 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000525/0.8264, allocations: 81.45 kB / 0.9506 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.8265, allocations: 11.98 kB / 0.9506 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.659e-05/0.8266, allocations: 1.125 kB / 0.9506 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.318e-05/0.8266, allocations: 8.188 kB / 0.9507 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.99e-05/0.8266, allocations: 18.12 kB / 0.9507 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.8267, allocations: 1 kB / 0.9507 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.8269, allocations: 93.91 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.8269, allocations: 1.062 kB / 0.9508 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.827, allocations: 14.55 kB / 0.9508 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.8272, allocations: 80.88 kB / 0.9509 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.8272, allocations: 5.938 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8272, allocations: 0 / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.8272, allocations: 0 / 0.9509 GB, free: 7.555 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.0004125/0.8276, allocations: 349.4 kB / 0.9512 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.8277, allocations: 9.219 kB / 0.9512 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.8277, allocations: 2.219 kB / 0.9512 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.8278, allocations: 163.6 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.8278, allocations: 2.844 kB / 0.9514 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.8278, allocations: 5.656 kB / 0.9514 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.87e-05/0.8279, allocations: 39.91 kB / 0.9514 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.8279, allocations: 4.172 kB / 0.9514 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.8279, allocations: 3.938 kB / 0.9514 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.828, allocations: 1.406 kB / 0.9514 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.466e-05/0.828, allocations: 10.89 kB / 0.9514 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.8281, allocations: 153.4 kB / 0.9516 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.797e-05/0.8282, allocations: 27.2 kB / 0.9516 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.767e-05/0.8282, allocations: 17.55 kB / 0.9516 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.8282, allocations: 0 / 0.9516 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.8284, allocations: 59.34 kB / 0.9517 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.8284, allocations: 1.031 kB / 0.9517 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000186/0.8286, allocations: 74.14 kB / 0.9517 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.8286, allocations: 56.66 kB / 0.9518 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.089e-05/0.8287, allocations: 102.2 kB / 0.9519 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.248e-06/0.8287, allocations: 25.7 kB / 0.9519 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.8287, allocations: 85.98 kB / 0.952 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.8287, allocations: 9.031 kB / 0.952 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.8288, allocations: 27.08 kB / 0.952 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.277e-05/0.8288, allocations: 324.2 kB / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.945e-05/0.8289, allocations: 3.406 kB / 0.9523 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.8289, allocations: 34.89 kB / 0.9524 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.829, allocations: 48.03 kB / 0.9524 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.829, allocations: 1.156 kB / 0.9524 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.114e-05/0.8291, allocations: 64.38 kB / 0.9525 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.8291, allocations: 12.7 kB / 0.9525 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.8291, allocations: 1.156 kB / 0.9525 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.8291, allocations: 2.281 kB / 0.9525 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.8292, allocations: 9.906 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8292, allocations: 2.219 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.8292, allocations: 10.03 kB / 0.9525 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.8292, allocations: 2 kB / 0.9525 GB, free: 5.766 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 5.709e-05/0.8293, allocations: 111.7 kB / 0.9526 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.8293, allocations: 5.281 kB / 0.9526 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.8294, allocations: 8.797 kB / 0.9526 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.8294, allocations: 1.766 kB / 0.9526 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.8294, allocations: 0 / 0.9526 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.8294, allocations: 0 / 0.9526 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.591e-05/0.8295, allocations: 153.5 kB / 0.9528 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8295, allocations: 5.375 kB / 0.9528 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.8295, allocations: 1.156 kB / 0.9528 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8295, allocations: 7.922 kB / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.8295, allocations: 1.031 kB / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8295, allocations: 1.094 kB / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8295, allocations: 0 / 0.9528 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.8296, allocations: 86.98 kB / 0.9529 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/0.8297, allocations: 81.8 kB / 0.953 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.8297, allocations: 9.344 kB / 0.953 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.014e-05/0.8297, allocations: 0 / 0.953 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.8297, allocations: 10.92 kB / 0.953 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.8297, allocations: 1.344 kB / 0.953 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.148e-05/0.8298, allocations: 76.56 kB / 0.9531 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8298, allocations: 1.438 kB / 0.9531 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002601/0.83, allocations: 31.58 kB / 0.9531 GB, free: 5.145 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.000324/0.8304, allocations: 168.9 kB / 0.9533 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.8305, allocations: 29.92 kB / 0.9533 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8305, allocations: 0 / 0.9533 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.8305, allocations: 12.5 kB / 0.9533 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.8307, allocations: 3.438 kB / 0.9533 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.8309, allocations: 110.6 kB / 0.9534 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.436e-05/0.831, allocations: 0.6742 MB / 0.9541 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.831, allocations: 2.719 kB / 0.9541 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.831, allocations: 12.83 kB / 0.9541 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.831, allocations: 0 / 0.9541 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.003066/0.8341, allocations: 0.9993 MB / 0.9551 GB, free: 3.652 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