Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_latest_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.00112/0.00112, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01107/0.01107, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.792/2.792, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005981/0.0005982, allocations: 8.844 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4081, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001866/0.41, allocations: 1.156 MB / 1.06 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006325/0.4107, allocations: 259.3 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.4107, allocations: 4 kB / 1.06 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.552e-05/0.4108, allocations: 7.922 kB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.266e-05/0.4108, allocations: 0 / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.4112, allocations: 51.83 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.858e-05/0.4113, allocations: 23.92 kB / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.712e-05/0.4113, allocations: 0 / 1.06 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.377e-05/0.4114, allocations: 4 kB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.4115, allocations: 15.92 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.4115, allocations: 4 kB / 1.06 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.4116, allocations: 67.88 kB / 1.06 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.4117, allocations: 3.984 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.4117, allocations: 37.64 kB / 1.06 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.4119, allocations: 47.86 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.4119, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4119, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.4119, allocations: 0 / 1.06 GB, free: 3.785 MB / 0.8106 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.000503/0.4124, allocations: 351.7 kB / 1.061 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4124, allocations: 8.031 kB / 1.061 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.4125, allocations: 4.875 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.4126, allocations: 184.2 kB / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.4126, allocations: 384 / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.4127, allocations: 384 / 1.061 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.4129, allocations: 54.23 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4129, allocations: 4.188 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4129, allocations: 3.938 kB / 1.061 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.4129, allocations: 4 kB / 1.061 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.4131, allocations: 39.97 kB / 1.061 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.4135, allocations: 249 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.4136, allocations: 46.44 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.26e-05/0.4137, allocations: 24.91 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.4144, allocations: 461.5 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.473e-05/0.4145, allocations: 30.56 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.4145, allocations: 4 kB / 1.062 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003829/0.4149, allocations: 101.6 kB / 1.062 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.415, allocations: 51.41 kB / 1.062 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.4152, allocations: 106 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.4152, allocations: 25.7 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.4152, allocations: 84.14 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.4152, allocations: 3.906 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.4153, allocations: 9.719 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4154, allocations: 314.8 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.4155, allocations: 23.97 kB / 1.062 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.783e-05/0.4156, allocations: 23.98 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.4157, allocations: 48.89 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4158, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.416, allocations: 81.53 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.416, allocations: 7.938 kB / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.416, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.416, allocations: 0 / 1.063 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.4161, allocations: 16.02 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4161, allocations: 0 / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.131e-05/0.4162, allocations: 11.98 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.4162, allocations: 0 / 1.063 GB, free: 1.133 MB / 0.8106 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.703e-05/0.4163, allocations: 117.8 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.4163, allocations: 3.906 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.4165, allocations: 80.97 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.4166, allocations: 0 / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4166, allocations: 7.922 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.4166, allocations: 0 / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.4167, allocations: 165.6 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4168, allocations: 7.969 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.4168, allocations: 8 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4168, allocations: 4 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.4169, allocations: 4 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/0.4169, allocations: 3.984 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4169, allocations: 0 / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.4171, allocations: 167.5 kB / 1.063 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.4173, allocations: 89.03 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.4173, allocations: 0 / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.4174, allocations: 4 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.4174, allocations: 11.98 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.4175, allocations: 4.031 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.292e-05/0.4175, allocations: 79.28 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of sort global known variables: time 2.445e-06/0.4175, allocations: 0 / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002373/0.4177, allocations: 19.94 kB / 1.063 GB, free: 280 kB / 0.8106 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.0002181/0.418, allocations: 111.2 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.4182, allocations: 51.95 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4182, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-05/0.4183, allocations: 28.05 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.4185, allocations: 5.906 kB / 1.064 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.4188, allocations: 116.6 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4191, allocations: 0.6731 MB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.4191, allocations: 3.938 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.4191, allocations: 11.44 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4191, allocations: 4.062 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of Templates: time 0.002672/0.4218, allocations: 0.5886 MB / 1.065 GB, free: 14.62 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches