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.008078/0.008078, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.001634/0.001634, allocations: 198.9 kB / 16.68 MB, free: 6.375 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.553/2.553, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 62.69 kB / 0.9509 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3223, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003058/0.3254, allocations: 1.438 MB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006258/0.3261, allocations: 248.5 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.3261, allocations: 4 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3262, allocations: 7.875 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.988e-05/0.3262, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.3267, allocations: 59.75 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.048e-05/0.3268, allocations: 16 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.3269, allocations: 11.97 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.552e-05/0.3269, allocations: 8 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.327, allocations: 15.92 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.327, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3271, allocations: 71.88 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.3272, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.3272, allocations: 11.92 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3274, allocations: 47.81 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3274, allocations: 0 / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3274, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.3274, allocations: 3.984 kB / 1.09 GB, free: 15.54 MB / 0.8575 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.0005528/0.328, allocations: 343.4 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.328, allocations: 8.031 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.3281, allocations: 4.938 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.3282, allocations: 176.3 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3282, allocations: 384 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.3283, allocations: 384 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.3285, allocations: 54.17 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3285, allocations: 192 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3285, allocations: 3.938 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3285, allocations: 0 / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.3287, allocations: 39.95 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.3291, allocations: 245 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.3292, allocations: 42.44 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.3293, allocations: 28.89 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007281/0.33, allocations: 457.5 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3301, allocations: 30.56 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3301, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003535/0.3304, allocations: 93.53 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.3305, allocations: 51.41 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.3306, allocations: 101.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3306, allocations: 25.7 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.3306, allocations: 84.14 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.3307, allocations: 7.938 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.3307, allocations: 17.72 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3308, allocations: 315 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/0.3309, allocations: 15.92 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.306e-05/0.331, allocations: 15.98 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3312, allocations: 40.81 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3312, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001961/0.3314, allocations: 77.59 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3314, allocations: 4 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3314, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.3314, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.424e-05/0.3315, allocations: 8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3315, allocations: 3.984 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.3316, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.3316, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 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 8.61e-05/0.3317, allocations: 117.8 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.3317, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002157/0.3319, allocations: 80.7 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3319, allocations: 0 / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3319, allocations: 4 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3319, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.3322, allocations: 161.6 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3322, allocations: 4.031 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.3323, allocations: 7.984 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3323, allocations: 0 / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3323, allocations: 4 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3323, allocations: 3.938 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3323, allocations: 0 / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.3326, allocations: 164.9 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.3326, allocations: 77.11 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.3326, allocations: 4 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.3327, allocations: 7.984 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.3327, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.3327, allocations: 4 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.3328, allocations: 83.2 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3328, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002404/0.3331, allocations: 19.94 kB / 1.093 GB, free: 12.14 MB / 0.8575 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.0002142/0.3333, allocations: 123.2 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.3335, allocations: 35.91 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3335, allocations: 64 / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.3336, allocations: 19.98 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3338, allocations: 17.95 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002306/0.3341, allocations: 97.59 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.3343, allocations: 0.6806 MB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.3343, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.3344, allocations: 7.438 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3344, allocations: 4.062 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.002896/0.3373, allocations: 0.6608 MB / 1.094 GB, free: 10.44 MB / 0.8575 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