Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_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.001322/0.001322, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001395/0.001395, allocations: 198.4 kB / 16.91 MB, free: 6.195 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 437 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 68.81 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3225, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003163/0.3257, allocations: 1.498 MB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005916/0.3263, allocations: 261.6 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.15e-05/0.3263, allocations: 0 / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.3264, allocations: 0 / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.3265, allocations: 4 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.3269, allocations: 47.8 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.327, allocations: 31.86 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.3271, allocations: 4 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.3271, allocations: 8 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.3272, allocations: 15.92 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3272, allocations: 4 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.3274, allocations: 71.86 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.3274, allocations: 0 / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.3274, allocations: 15.92 kB / 1.019 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3275, allocations: 31.94 kB / 1.019 GB, free: 8.988 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3276, allocations: 0 / 1.019 GB, free: 8.988 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3276, allocations: 0 / 1.019 GB, free: 8.988 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.3276, allocations: 0 / 1.019 GB, free: 8.988 MB / 0.795 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.0005317/0.3281, allocations: 347.8 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.3282, allocations: 8.922 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.3282, allocations: 8.844 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.3284, allocations: 172.3 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3284, allocations: 384 / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3284, allocations: 4.375 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3286, allocations: 50.23 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.3287, allocations: 4.188 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3287, allocations: 3.938 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.3287, allocations: 0 / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.3288, allocations: 31.97 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.3292, allocations: 256.9 kB / 1.02 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.3293, allocations: 42.5 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.3294, allocations: 20.84 kB / 1.02 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007649/0.3302, allocations: 457.5 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.3302, allocations: 38.56 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.695e-06/0.3302, allocations: 0 / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003379/0.3306, allocations: 85.52 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.3306, allocations: 55.41 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.055e-05/0.3307, allocations: 97.84 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.3307, allocations: 25.83 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.3308, allocations: 88.14 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3308, allocations: 3.906 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3309, allocations: 13.72 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.331, allocations: 314.8 kB / 1.021 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.273e-05/0.3311, allocations: 19.97 kB / 1.021 GB, free: 6.574 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.3312, allocations: 15.98 kB / 1.021 GB, free: 6.559 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3313, allocations: 40.89 kB / 1.021 GB, free: 6.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3313, allocations: 0 / 1.021 GB, free: 6.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002237/0.3316, allocations: 73.44 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.3316, allocations: 10.81 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3316, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3316, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3317, allocations: 12.02 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.3318, allocations: 4 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.3318, allocations: 3.984 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3318, allocations: 4 kB / 1.022 GB, free: 6.406 MB / 0.795 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 0.0001139/0.332, allocations: 113.8 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.332, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002951/0.3323, allocations: 76.72 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3323, allocations: 0 / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.3325, allocations: 161.6 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3326, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.3326, allocations: 8 kB / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3326, allocations: 0 / 1.022 GB, free: 5.988 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3326, allocations: 3.984 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.3327, allocations: 3.984 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3327, allocations: 4.031 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.333, allocations: 163.5 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.333, allocations: 85.14 kB / 1.022 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.3331, allocations: 4 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.652e-05/0.3331, allocations: 11.94 kB / 1.022 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.3332, allocations: 16 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.3332, allocations: 3.938 kB / 1.022 GB, free: 5.664 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.3333, allocations: 83.22 kB / 1.022 GB, free: 5.582 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3333, allocations: 0 / 1.022 GB, free: 5.582 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002547/0.3335, allocations: 16 kB / 1.022 GB, free: 5.566 MB / 0.795 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.0002986/0.3338, allocations: 119.2 kB / 1.022 GB, free: 5.441 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3341, allocations: 35.95 kB / 1.022 GB, free: 5.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3341, allocations: 0 / 1.022 GB, free: 5.406 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.961e-05/0.3342, allocations: 19.98 kB / 1.022 GB, free: 5.387 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.3345, allocations: 7.031 kB / 1.022 GB, free: 5.383 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.3349, allocations: 143.4 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3352, allocations: 0.6768 MB / 1.023 GB, free: 4.508 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.3353, allocations: 15.44 kB / 1.023 GB, free: 4.492 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/0.3353, allocations: 0 / 1.023 GB, free: 4.492 MB / 0.795 GB Notification: Performance of Templates: time 0.00294/0.3382, allocations: 0.7573 MB / 1.024 GB, free: 3.734 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches