Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001777/0.001777, allocations: 194.9 kB / 16.14 MB, free: 6.719 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.49/2.49, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 71.83 kB / 0.8119 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9219/0.9232, allocations: 140.4 MB / 0.9489 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002978/0.9262, allocations: 1.503 MB / 0.9504 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000646/0.9269, allocations: 256.9 kB / 0.9506 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.492e-05/0.927, allocations: 0 / 0.9506 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.927, allocations: 5.094 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.9271, allocations: 0 / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.9274, allocations: 40.78 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.355e-05/0.9275, allocations: 28.55 kB / 0.9507 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.9276, allocations: 8 kB / 0.9507 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.9277, allocations: 14.72 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.9277, allocations: 6.688 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.9277, allocations: 1.375 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.9279, allocations: 67.44 kB / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.9279, allocations: 0 / 0.9508 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.9279, allocations: 14.67 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.9281, allocations: 48.42 kB / 0.9508 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9281, allocations: 4 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.9281, allocations: 4 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.9281, allocations: 0 / 0.9509 GB, free: 7.637 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.0004213/0.9286, allocations: 345.9 kB / 0.9512 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.9286, allocations: 13.56 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.9286, allocations: 2.312 kB / 0.9512 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.706e-05/0.9287, allocations: 173.7 kB / 0.9514 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.9287, allocations: 5.688 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.9288, allocations: 1.75 kB / 0.9514 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.9289, allocations: 53.23 kB / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.929, allocations: 192 / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.929, allocations: 3.938 kB / 0.9514 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.929, allocations: 1.375 kB / 0.9514 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.9291, allocations: 29.84 kB / 0.9515 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.9294, allocations: 253.2 kB / 0.9517 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.9296, allocations: 44.27 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.344e-05/0.9297, allocations: 22.47 kB / 0.9518 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/0.9303, allocations: 458.8 kB / 0.9522 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.9303, allocations: 35.88 kB / 0.9522 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9303, allocations: 0 / 0.9522 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.9306, allocations: 79.98 kB / 0.9523 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.9307, allocations: 56.53 kB / 0.9524 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.9307, allocations: 106.9 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.233e-06/0.9307, allocations: 25.7 kB / 0.9525 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.734e-05/0.9308, allocations: 82.61 kB / 0.9526 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.9308, allocations: 3.906 kB / 0.9526 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.9308, allocations: 16.62 kB / 0.9526 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.9309, allocations: 316.4 kB / 0.9529 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.931, allocations: 15.73 kB / 0.9529 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.931, allocations: 17.89 kB / 0.9529 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.9312, allocations: 35.58 kB / 0.953 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.9312, allocations: 3.984 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000169/0.9314, allocations: 68.14 kB / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.9314, allocations: 6.094 kB / 0.953 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.9314, allocations: 4 kB / 0.953 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.9314, allocations: 0 / 0.953 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.061e-05/0.9315, allocations: 10.55 kB / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9315, allocations: 0 / 0.953 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.9316, allocations: 12.45 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.9316, allocations: 0 / 0.9531 GB, free: 5.316 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.87e-05/0.9316, allocations: 115.2 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.9317, allocations: 6.531 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.9319, allocations: 77.94 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.9319, allocations: 0 / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.9319, allocations: 1.125 kB / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.9319, allocations: 0 / 0.9533 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.932, allocations: 165.9 kB / 0.9534 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.932, allocations: 3.938 kB / 0.9534 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.9321, allocations: 10.23 kB / 0.9534 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9321, allocations: 1.656 kB / 0.9534 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.9321, allocations: 4.031 kB / 0.9534 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9321, allocations: 0 / 0.9534 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9321, allocations: 1.344 kB / 0.9534 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.9323, allocations: 162.4 kB / 0.9536 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.899e-05/0.9323, allocations: 82.48 kB / 0.9537 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.9324, allocations: 0 / 0.9537 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.9324, allocations: 11.55 kB / 0.9537 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.9325, allocations: 2 kB / 0.9537 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.9325, allocations: 0 / 0.9537 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.454e-05/0.9325, allocations: 78.84 kB / 0.9538 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9325, allocations: 3.938 kB / 0.9538 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002358/0.9328, allocations: 13.5 kB / 0.9538 GB, free: 4.574 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.0001999/0.933, allocations: 128 kB / 0.9539 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.9332, allocations: 37.73 kB / 0.9539 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.9332, allocations: 0 / 0.9539 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.9333, allocations: 15.58 kB / 0.9539 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.9335, allocations: 9.562 kB / 0.9539 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002448/0.9338, allocations: 114.6 kB / 0.9541 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.9339, allocations: 0.6774 MB / 0.9547 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.9339, allocations: 1.375 kB / 0.9547 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.79e-05/0.9339, allocations: 8.844 kB / 0.9547 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/0.9339, allocations: 0 / 0.9547 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of Templates: time 0.00287/0.9368, allocations: 0.592 MB / 0.9553 GB, free: 3.309 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches