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.007226/0.007226, allocations: 102 kB / 15.73 MB, free: 6.051 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.001238/0.001238, allocations: 195 kB / 16.68 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.94 kB / 0.9509 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3703, allocations: 140.4 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002212/0.3725, allocations: 0.5826 MB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0006196/0.3732, allocations: 199.7 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.3732, allocations: 0 / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.3733, allocations: 4 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.014e-05/0.3733, allocations: 0 / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.3739, allocations: 59.77 kB / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.222e-05/0.3739, allocations: 0 / 1.089 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.195e-05/0.374, allocations: 3.984 kB / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.374, allocations: 0 / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.773e-05/0.374, allocations: 0 / 1.089 GB, free: 0.5977 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.3741, allocations: 7.938 kB / 1.089 GB, free: 0.5898 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.3743, allocations: 55.94 kB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/0.3743, allocations: 0 / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.3743, allocations: 4 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001509/0.3745, allocations: 39.94 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3745, allocations: 7.938 kB / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3745, allocations: 0 / 1.089 GB, free: 496 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.3745, allocations: 0 / 1.089 GB, free: 496 kB / 0.8419 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.0003469/0.3749, allocations: 311.6 kB / 1.089 GB, free: 132 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3749, allocations: 12.03 kB / 1.089 GB, free: 120 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.375, allocations: 4.922 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.3751, allocations: 160.4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3751, allocations: 384 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3751, allocations: 4.375 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.3753, allocations: 30.27 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3753, allocations: 192 / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3753, allocations: 3.938 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3753, allocations: 3.984 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.3753, allocations: 0 / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.3755, allocations: 153.6 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.438e-05/0.3756, allocations: 22.55 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.3756, allocations: 12.86 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008042/0.3764, allocations: 457.5 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3764, allocations: 34.56 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.3765, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.3766, allocations: 37.58 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3767, allocations: 55.34 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.956e-05/0.3767, allocations: 89.86 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3767, allocations: 25.7 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.3768, allocations: 84.14 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.3768, allocations: 4 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.3768, allocations: 13.7 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.377, allocations: 315 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.377, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.377, allocations: 4 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.377, allocations: 4.859 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.377, allocations: 0 / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.44e-05/0.3771, allocations: 41.64 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3771, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3771, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3771, allocations: 12.02 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.3772, allocations: 4 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3772, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-06/0.3772, allocations: 0 / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3772, allocations: 0 / 1.091 GB, free: 14.3 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 (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 7.884e-05/0.3773, allocations: 105.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-06/0.3773, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-05/0.3774, allocations: 48.75 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.3774, allocations: 0 / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3774, allocations: 4.031 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3775, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.3776, allocations: 145.6 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3776, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.3776, allocations: 4 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3776, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.3776, allocations: 3.938 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3776, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3776, allocations: 3.984 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.17e-05/0.3777, allocations: 65.05 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.3778, allocations: 77.11 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.3778, allocations: 3.938 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-06/0.3778, allocations: 3.938 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.3778, allocations: 11.92 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3778, allocations: 0 / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.706e-05/0.3779, allocations: 75.28 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3779, allocations: 0 / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002237/0.3781, allocations: 20.03 kB / 1.091 GB, free: 13.63 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 (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.0002558/0.3784, allocations: 127.1 kB / 1.091 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.3785, allocations: 4 kB / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3785, allocations: 0 / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.316e-06/0.3785, allocations: 64 / 1.091 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.3786, allocations: 8.062 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.3789, allocations: 81.08 kB / 1.091 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3792, allocations: 0.669 MB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.688e-05/0.3792, allocations: 7.984 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.3792, allocations: 7.438 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of SimCode: time 4.3e-07/0.3792, allocations: 0 / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of Templates: time 0.002929/0.3821, allocations: 413.8 kB / 1.093 GB, free: 12.27 MB / 0.8575 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