Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001854/0.001854, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.717/2.717, allocations: 437 MB / 0.7104 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.7383, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002826/0.7412, allocations: 1.423 MB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005295/0.7417, allocations: 248.1 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.117e-05/0.7418, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.391e-05/0.7418, allocations: 7.922 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.7419, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.7423, allocations: 59.81 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.248e-05/0.7424, allocations: 23.88 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.7425, allocations: 11.92 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.776e-05/0.7425, allocations: 8 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.7426, allocations: 11.92 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.7426, allocations: 4 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.7427, allocations: 63.88 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.7428, allocations: 7.984 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.7428, allocations: 7.938 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.743, allocations: 47.92 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.743, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.743, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.743, allocations: 0 / 1.019 GB, free: 0.5352 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.0004599/0.7434, allocations: 353.4 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.7435, allocations: 12.03 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.7435, allocations: 0.9375 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.7437, allocations: 168.3 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.7437, allocations: 4.375 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.7437, allocations: 384 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.7439, allocations: 58.16 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.7439, allocations: 192 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.7439, allocations: 7.938 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.744, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.7441, allocations: 31.97 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003576/0.7445, allocations: 248.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.7446, allocations: 42.44 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.7447, allocations: 24.91 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006661/0.7454, allocations: 453.5 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.7455, allocations: 34.56 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.7455, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.7458, allocations: 77.64 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.7459, allocations: 51.41 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.717e-05/0.7459, allocations: 97.86 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.746, allocations: 29.64 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.746, allocations: 88.12 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.746, allocations: 12.03 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.7461, allocations: 13.72 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.7462, allocations: 310.8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.153e-05/0.7463, allocations: 15.98 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.7464, allocations: 15.97 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.7465, allocations: 40.89 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.7465, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.7467, allocations: 73.59 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.7467, allocations: 4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7468, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.7468, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.7469, allocations: 15.92 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.7469, allocations: 4.031 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.7469, allocations: 7.906 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.7469, allocations: 3.938 kB / 1.021 GB, free: 13.96 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 8.102e-05/0.747, allocations: 117.8 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.7471, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.7473, allocations: 68.78 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.7473, allocations: 4.031 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.7473, allocations: 4 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.7473, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.7475, allocations: 161.6 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.7475, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.7475, allocations: 7.984 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.7476, allocations: 4 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.7476, allocations: 3.938 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7476, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7476, allocations: 0 / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.7478, allocations: 167.5 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.7479, allocations: 77.11 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.7479, allocations: 3.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.748, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.748, allocations: 3.984 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.748, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.7481, allocations: 87.48 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7481, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002349/0.7483, allocations: 20 kB / 1.022 GB, free: 13.13 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.0002116/0.7485, allocations: 115.2 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002286/0.7488, allocations: 39.91 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.7488, allocations: 4 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.7489, allocations: 19.97 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.7491, allocations: 7.938 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003019/0.7494, allocations: 101.5 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.7497, allocations: 0.6769 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.7497, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.7498, allocations: 11.42 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7498, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of Templates: time 0.002992/0.7528, allocations: 0.6535 MB / 1.024 GB, free: 11.45 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches