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.001853/0.001853, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002157/0.002157, allocations: 188.1 kB / 16.25 MB, free: 6.637 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.481/1.481, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.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.774/2.774, allocations: 437 MB / 0.7101 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002002, allocations: 67.89 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6157, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002916/0.6187, allocations: 1.495 MB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.6193, allocations: 256 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.6193, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.6194, allocations: 0 / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.308e-05/0.6194, allocations: 3.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.6198, allocations: 47.91 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.6199, allocations: 27.91 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.62, allocations: 4 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.6201, allocations: 15.92 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.189e-05/0.6201, allocations: 11.94 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.6201, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.6203, allocations: 71.88 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.6203, allocations: 3.984 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.6203, allocations: 15.92 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.6205, allocations: 43.94 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6205, allocations: 4 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.13e-06/0.6205, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.6205, allocations: 3.938 kB / 1.019 GB, free: 0.7539 MB / 0.7637 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.0005373/0.6211, allocations: 350.8 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.6211, allocations: 8.031 kB / 1.019 GB, free: 364 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.6212, allocations: 8.922 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.6213, allocations: 168.2 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6213, allocations: 4.375 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.6214, allocations: 8.375 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.6216, allocations: 50.17 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.6216, allocations: 192 / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.6216, allocations: 11.92 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.6216, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.6218, allocations: 27.97 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.6222, allocations: 256.9 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001403/0.6223, allocations: 42.44 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.022e-05/0.6224, allocations: 28.89 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007888/0.6232, allocations: 453.5 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.6232, allocations: 38.55 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6233, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003374/0.6236, allocations: 69.66 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.6237, allocations: 55.53 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.424e-05/0.6237, allocations: 105.8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.6238, allocations: 25.7 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.6238, allocations: 84.08 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.6239, allocations: 7.906 kB / 1.02 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.6239, allocations: 17.7 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.624, allocations: 310.8 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.6241, allocations: 19.98 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.6242, allocations: 15.98 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.6244, allocations: 36.81 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6244, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001992/0.6246, allocations: 65.61 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.6246, allocations: 8.094 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6246, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.6246, allocations: 3.984 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.6247, allocations: 7.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6247, allocations: 3.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/0.6248, allocations: 11.89 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.6248, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 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.93e-05/0.6249, allocations: 113.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.6249, allocations: 4 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.6252, allocations: 72.78 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6252, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6252, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.6252, allocations: 3.984 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.6254, allocations: 157.6 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6254, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.6254, allocations: 15.92 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.6255, allocations: 4.031 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.6255, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.6255, allocations: 3.938 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.6255, allocations: 4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.6257, allocations: 163.5 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.6258, allocations: 77.11 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.6258, allocations: 4.031 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.6259, allocations: 7.984 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.6259, allocations: 4 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.6259, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.626, allocations: 83.28 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.626, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002364/0.6262, allocations: 19.98 kB / 1.022 GB, free: 13.34 MB / 0.7794 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.0002081/0.6264, allocations: 112.1 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.6267, allocations: 43.89 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6267, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.6268, allocations: 19.98 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.627, allocations: 8.062 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002762/0.6273, allocations: 105.5 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.6277, allocations: 0.6768 MB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.6277, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.6277, allocations: 11.44 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of SimCode: time 1.984e-06/0.6277, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of Templates: time 0.003039/0.6308, allocations: 0.612 MB / 1.023 GB, free: 11.7 MB / 0.7794 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches