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.001861/0.001861, allocations: 106 kB / 15.99 MB, free: 5.836 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.002058/0.002058, allocations: 197.7 kB / 16.91 MB, free: 5.707 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.63/2.63, allocations: 437 MB / 0.7107 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.002081, allocations: 75.73 kB / 0.8694 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3311, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002583/0.3338, allocations: 1.502 MB / 1.019 GB, free: 9.484 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0005118/0.3343, allocations: 257.6 kB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.487e-05/0.3343, allocations: 8 kB / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.203e-05/0.3344, allocations: 0 / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.3344, allocations: 0 / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.3348, allocations: 62.11 kB / 1.019 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.3348, allocations: 19.92 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.974e-05/0.3349, allocations: 8 kB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.3349, allocations: 0 / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.335, allocations: 15.92 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.335, allocations: 4 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3351, allocations: 71.88 kB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.3352, allocations: 7.984 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.3352, allocations: 11.92 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.195e-05/0.3353, allocations: 27.95 kB / 1.019 GB, free: 9 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3353, allocations: 0 / 1.019 GB, free: 9 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3353, allocations: 0 / 1.019 GB, free: 9 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.3353, allocations: 0 / 1.019 GB, free: 9 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.0004555/0.3358, allocations: 343.8 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3358, allocations: 12.92 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.3359, allocations: 8.844 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.336, allocations: 168.3 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.336, allocations: 8.375 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.785e-06/0.336, allocations: 384 / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3362, allocations: 54.23 kB / 1.02 GB, free: 8.328 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3362, allocations: 3.938 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.3362, allocations: 0 / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3362, allocations: 0 / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.3364, allocations: 35.97 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.3367, allocations: 249 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.3369, allocations: 42.44 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.337, allocations: 16.91 kB / 1.02 GB, free: 7.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007286/0.3377, allocations: 465.5 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3377, allocations: 30.56 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3377, allocations: 3.938 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003377/0.3381, allocations: 89.58 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.3381, allocations: 55.34 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.478e-05/0.3382, allocations: 105.8 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3382, allocations: 25.7 kB / 1.021 GB, free: 7.031 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.3383, allocations: 80.14 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.3383, allocations: 7.906 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.3384, allocations: 13.72 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3385, allocations: 315 kB / 1.021 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.3386, allocations: 19.97 kB / 1.021 GB, free: 6.586 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.3387, allocations: 15.98 kB / 1.021 GB, free: 6.57 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3388, allocations: 36.83 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3388, allocations: 3.938 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001858/0.339, allocations: 77.56 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.339, allocations: 4 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.339, allocations: 0 / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.339, allocations: 0 / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.791e-05/0.3391, allocations: 11.98 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3391, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.3392, allocations: 7.984 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.3392, allocations: 4.031 kB / 1.022 GB, free: 6.418 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 7.809e-05/0.3393, allocations: 113.8 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.3393, allocations: 4 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.3395, allocations: 68.78 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3395, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3395, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3396, allocations: 3.938 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3397, allocations: 165.6 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3397, allocations: 0 / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.3398, allocations: 8 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3398, allocations: 0 / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3398, allocations: 3.984 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3398, allocations: 0 / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3398, allocations: 0 / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.3401, allocations: 167.5 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.3401, allocations: 88.95 kB / 1.022 GB, free: 5.707 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3401, allocations: 3.938 kB / 1.022 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.3402, allocations: 8 kB / 1.022 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.3403, allocations: 3.984 kB / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.3403, allocations: 0 / 1.022 GB, free: 5.691 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.3403, allocations: 79.28 kB / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3403, allocations: 0 / 1.022 GB, free: 5.613 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002404/0.3406, allocations: 24.03 kB / 1.022 GB, free: 5.59 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.0001908/0.3408, allocations: 119.7 kB / 1.022 GB, free: 5.465 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.341, allocations: 39.89 kB / 1.022 GB, free: 5.426 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.341, allocations: 4.062 kB / 1.022 GB, free: 5.422 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.3411, allocations: 15.98 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.3413, allocations: 11.94 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.3416, allocations: 127.3 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3419, allocations: 0.6768 MB / 1.023 GB, free: 4.535 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.3419, allocations: 15.38 kB / 1.023 GB, free: 4.52 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.3419, allocations: 4.062 kB / 1.023 GB, free: 4.516 MB / 0.795 GB Notification: Performance of Templates: time 0.002315/0.3442, allocations: 0.7575 MB / 1.024 GB, free: 3.758 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=400 -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