Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.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.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") translateModel(Buildings.Utilities.Math.Examples.BesselY1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Y1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001324/0.001324, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 4.527 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.5/2.5, allocations: 390.2 MB / 0.665 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 67.91 kB / 0.8127 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7283/0.7297, allocations: 140.4 MB / 0.9498 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselY1): time 0.002332/0.7321, allocations: 1.487 MB / 0.9512 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005685/0.7327, allocations: 361.1 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.47e-05/0.7328, allocations: 1.375 kB / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.7328, allocations: 0 / 0.9516 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.7328, allocations: 11.86 kB / 0.9516 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.7333, allocations: 95.84 kB / 0.9517 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.928e-05/0.7333, allocations: 16.19 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.659e-05/0.7334, allocations: 10.73 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.7334, allocations: 4.125 kB / 0.9517 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.243e-05/0.7335, allocations: 18.67 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.7335, allocations: 1.375 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.7337, allocations: 139 kB / 0.9519 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.7337, allocations: 4 kB / 0.9519 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.7338, allocations: 14.67 kB / 0.9519 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.7339, allocations: 56.47 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7339, allocations: 0 / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7339, allocations: 0 / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.7339, allocations: 1.375 kB / 0.9519 GB, free: 7.461 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.0003929/0.7343, allocations: 355.3 kB / 0.9523 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.7343, allocations: 13.56 kB / 0.9523 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.7344, allocations: 6.297 kB / 0.9523 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.308e-05/0.7344, allocations: 165.7 kB / 0.9524 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.213e-06/0.7345, allocations: 1.75 kB / 0.9524 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.7345, allocations: 5.75 kB / 0.9524 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.7346, allocations: 44.7 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7346, allocations: 1.406 kB / 0.9525 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.7347, allocations: 7.938 kB / 0.9525 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.7347, allocations: 4 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.7348, allocations: 34.78 kB / 0.9525 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.7351, allocations: 257.3 kB / 0.9528 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.7352, allocations: 38.19 kB / 0.9528 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.7353, allocations: 27.73 kB / 0.9528 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/0.7359, allocations: 466.9 kB / 0.9533 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.296e-05/0.736, allocations: 35.69 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 2.004e-06/0.736, allocations: 3.984 kB / 0.9533 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003331/0.7363, allocations: 84.11 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.7363, allocations: 52.84 kB / 0.9535 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.7364, allocations: 98.42 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.7364, allocations: 35.31 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.7364, allocations: 80.14 kB / 0.9537 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.7365, allocations: 5.594 kB / 0.9537 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/0.7365, allocations: 16.19 kB / 0.9537 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/0.7365, allocations: 310.8 kB / 0.954 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.7366, allocations: 17.31 kB / 0.954 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.7367, allocations: 21.58 kB / 0.954 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.7368, allocations: 39.67 kB / 0.9541 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7369, allocations: 0 / 0.9541 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00017/0.737, allocations: 72.44 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.737, allocations: 5.594 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.7371, allocations: 0 / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7371, allocations: 0 / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.794e-05/0.7372, allocations: 14.48 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.7372, allocations: 0 / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.7372, allocations: 4.062 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.7372, allocations: 1.094 kB / 0.9541 GB, free: 5.129 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.678e-05/0.7373, allocations: 120 kB / 0.9543 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.7373, allocations: 9.094 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002028/0.7375, allocations: 77.44 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7375, allocations: 1.281 kB / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7375, allocations: 0 / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.7375, allocations: 0 / 0.9543 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.7377, allocations: 158.7 kB / 0.9545 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7377, allocations: 3.984 kB / 0.9545 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.7377, allocations: 6.406 kB / 0.9545 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7377, allocations: 3.938 kB / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.7378, allocations: 1.281 kB / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.7378, allocations: 0 / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.7378, allocations: 4.031 kB / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.738, allocations: 159.6 kB / 0.9547 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.738, allocations: 82.19 kB / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.738, allocations: 0 / 0.9547 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.294e-05/0.7381, allocations: 8.062 kB / 0.9548 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.7381, allocations: 13.3 kB / 0.9548 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.7381, allocations: 1.312 kB / 0.9548 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.01e-05/0.7381, allocations: 78 kB / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7382, allocations: 0 / 0.9548 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002639/0.7384, allocations: 27.97 kB / 0.9549 GB, free: 4.383 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0002365/0.7387, allocations: 137.3 kB / 0.955 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.7389, allocations: 36.67 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.7389, allocations: 0 / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.739, allocations: 14.86 kB / 0.9551 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.7392, allocations: 15 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.7394, allocations: 137.7 kB / 0.9552 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.603e-05/0.7395, allocations: 0.682 MB / 0.9559 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.024e-05/0.7396, allocations: 8.875 kB / 0.9559 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7396, allocations: 0 / 0.9559 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of Templates: time 0.002376/0.7419, allocations: 0.9956 MB / 0.9568 GB, free: 2.895 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselY1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselY1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselY1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselY1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches