Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, 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.001647/0.001647, allocations: 192.4 kB / 16.14 MB, free: 6.652 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.523 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.622/2.622, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 75.88 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9261/0.9275, allocations: 140.3 MB / 0.9489 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001852/0.9294, allocations: 0.6523 MB / 0.9496 GB, free: 8.941 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005103/0.9299, allocations: 206.8 kB / 0.9498 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.176e-05/0.9299, allocations: 0 / 0.9498 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.93, allocations: 4 kB / 0.9498 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.93, allocations: 1.281 kB / 0.9498 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.9303, allocations: 39.19 kB / 0.9498 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.568e-05/0.9304, allocations: 1.344 kB / 0.9498 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.9304, allocations: 1.562 kB / 0.9498 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.392e-05/0.9304, allocations: 0 / 0.9498 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.239e-05/0.9305, allocations: 5.203 kB / 0.9498 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.9305, allocations: 0 / 0.9498 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.9307, allocations: 66.12 kB / 0.9499 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.003e-05/0.9307, allocations: 0 / 0.9499 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.9307, allocations: 5.5 kB / 0.9499 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.9308, allocations: 40.34 kB / 0.9499 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.9309, allocations: 0 / 0.9499 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.91e-07/0.9309, allocations: 3.938 kB / 0.9499 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.9309, allocations: 1.281 kB / 0.9499 GB, free: 8.688 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002667/0.9311, allocations: 316.4 kB / 0.9502 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.9312, allocations: 10.69 kB / 0.9502 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.9312, allocations: 0.9375 kB / 0.9502 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.171e-05/0.9313, allocations: 168.3 kB / 0.9504 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.9313, allocations: 8.359 kB / 0.9504 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.9313, allocations: 1.594 kB / 0.9504 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.9314, allocations: 27.39 kB / 0.9504 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.9314, allocations: 1.562 kB / 0.9504 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.9314, allocations: 3.938 kB / 0.9504 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9315, allocations: 0 / 0.9504 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.947e-05/0.9315, allocations: 5.109 kB / 0.9504 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.9316, allocations: 142.8 kB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.48e-05/0.9316, allocations: 29.08 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.9316, allocations: 10.39 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007035/0.9324, allocations: 454.5 kB / 0.951 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.9324, allocations: 34.56 kB / 0.9511 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.9324, allocations: 1.125 kB / 0.9511 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.9325, allocations: 37.73 kB / 0.9511 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.9326, allocations: 60.48 kB / 0.9512 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.531e-05/0.9326, allocations: 89.86 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.9326, allocations: 25.7 kB / 0.9513 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.9326, allocations: 85.36 kB / 0.9514 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.9327, allocations: 3.906 kB / 0.9514 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/0.9327, allocations: 11.22 kB / 0.9514 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.9328, allocations: 319.8 kB / 0.9517 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.9328, allocations: 1.75 kB / 0.9517 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.9328, allocations: 0 / 0.9517 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.9328, allocations: 7.734 kB / 0.9517 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9328, allocations: 0 / 0.9517 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.574e-05/0.9329, allocations: 35.44 kB / 0.9517 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9329, allocations: 5.844 kB / 0.9517 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.9329, allocations: 4.094 kB / 0.9517 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.9329, allocations: 3.938 kB / 0.9517 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.933, allocations: 9.531 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.933, allocations: 0 / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.933, allocations: 1.312 kB / 0.9517 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.933, allocations: 0 / 0.9517 GB, free: 6.59 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 (1): * Single equations (assignments): 1 * 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 6.237e-05/0.9331, allocations: 107.3 kB / 0.9518 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.335e-06/0.9331, allocations: 5.25 kB / 0.9519 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.643e-05/0.9332, allocations: 44.97 kB / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.9332, allocations: 0 / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9332, allocations: 0 / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.9332, allocations: 1.281 kB / 0.9519 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.446e-05/0.9333, allocations: 143.1 kB / 0.952 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.9333, allocations: 0 / 0.952 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.9333, allocations: 5.359 kB / 0.952 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.9333, allocations: 0 / 0.952 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.9333, allocations: 5.219 kB / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.9333, allocations: 0 / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9333, allocations: 3.938 kB / 0.952 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.725e-05/0.9334, allocations: 60.02 kB / 0.9521 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.9334, allocations: 77.11 kB / 0.9522 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.9334, allocations: 9.297 kB / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-06/0.9335, allocations: 0 / 0.9522 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.9335, allocations: 5.375 kB / 0.9522 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.9335, allocations: 0 / 0.9522 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.895e-05/0.9335, allocations: 75.28 kB / 0.9523 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9335, allocations: 4.031 kB / 0.9523 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002002/0.9337, allocations: 11 kB / 0.9523 GB, free: 5.973 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 (1): * Single equations (assignments): 1 * 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.0002311/0.934, allocations: 122.9 kB / 0.9524 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.049e-05/0.934, allocations: 10.62 kB / 0.9524 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.934, allocations: 0 / 0.9524 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.422e-06/0.9341, allocations: 6.812 kB / 0.9524 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.9342, allocations: 2.922 kB / 0.9524 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001697/0.9344, allocations: 72.2 kB / 0.9525 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.9345, allocations: 0.6745 MB / 0.9531 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.174e-05/0.9345, allocations: 0 / 0.9531 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.205e-05/0.9345, allocations: 8.812 kB / 0.9532 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.9345, allocations: 0 / 0.9532 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.002368/0.9369, allocations: 416.7 kB / 0.9535 GB, free: 4.848 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches