Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_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.001686/0.001686, allocations: 120.6 kB / 16.81 MB, free: 5.754 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.002018/0.002018, allocations: 199.1 kB / 17.77 MB, free: 5.125 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.588/1.588, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.977/2.977, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002238, allocations: 68.08 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4281, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00301/0.4311, allocations: 1.423 MB / 1.263 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0005895/0.4317, allocations: 247.6 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.4318, allocations: 0 / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.4318, allocations: 0 / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.091e-05/0.4318, allocations: 11.92 kB / 1.264 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.4322, allocations: 55.83 kB / 1.264 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.127e-05/0.4323, allocations: 23.92 kB / 1.264 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.4324, allocations: 7.984 kB / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.634e-05/0.4324, allocations: 11.94 kB / 1.264 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/0.4325, allocations: 7.984 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.4325, allocations: 7.938 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.4327, allocations: 59.89 kB / 1.264 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.4327, allocations: 11.92 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.4327, allocations: 7.984 kB / 1.264 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.4329, allocations: 51.81 kB / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4329, allocations: 0 / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4329, allocations: 0 / 1.264 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.4329, allocations: 0 / 1.264 GB, free: 11.05 MB / 0.9825 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.000514/0.4334, allocations: 347.4 kB / 1.264 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4334, allocations: 8.031 kB / 1.264 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.4335, allocations: 4.891 kB / 1.264 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.4336, allocations: 176.3 kB / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.4336, allocations: 384 / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.4336, allocations: 384 / 1.264 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.4338, allocations: 54.17 kB / 1.264 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.4338, allocations: 4.125 kB / 1.265 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.4339, allocations: 3.938 kB / 1.265 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4339, allocations: 4 kB / 1.265 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.434, allocations: 31.97 kB / 1.265 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.4344, allocations: 249 kB / 1.265 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4345, allocations: 38.5 kB / 1.265 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.431e-05/0.4346, allocations: 24.91 kB / 1.265 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007613/0.4354, allocations: 457.4 kB / 1.265 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.4354, allocations: 34.56 kB / 1.265 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.4354, allocations: 0 / 1.265 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00037/0.4358, allocations: 81.64 kB / 1.265 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.4358, allocations: 51.41 kB / 1.265 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.4359, allocations: 101.8 kB / 1.266 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.4359, allocations: 25.7 kB / 1.266 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.4361, allocations: 88.09 kB / 1.266 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.4361, allocations: 7.953 kB / 1.266 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.4362, allocations: 17.84 kB / 1.266 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4363, allocations: 310.8 kB / 1.266 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.4364, allocations: 23.97 kB / 1.266 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.4365, allocations: 15.92 kB / 1.266 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.4367, allocations: 40.89 kB / 1.266 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4367, allocations: 4 kB / 1.266 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002584/0.4369, allocations: 69.59 kB / 1.266 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4369, allocations: 4 kB / 1.266 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4369, allocations: 0 / 1.266 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4369, allocations: 0 / 1.266 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.437, allocations: 11.98 kB / 1.266 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.437, allocations: 3.938 kB / 1.266 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.4371, allocations: 12.02 kB / 1.266 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.4371, allocations: 0 / 1.266 GB, free: 8.469 MB / 0.9825 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.679e-05/0.4372, allocations: 114.6 kB / 1.266 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.4372, allocations: 3.938 kB / 1.266 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.4374, allocations: 68.78 kB / 1.266 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4374, allocations: 0 / 1.266 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4374, allocations: 4 kB / 1.266 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.4375, allocations: 85.08 kB / 1.266 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.4375, allocations: 0 / 1.266 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.372e-05/0.4376, allocations: 7.984 kB / 1.266 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.4376, allocations: 0 / 1.266 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002701/0.4379, allocations: 156.8 kB / 1.267 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002972/0.4382, allocations: 239 kB / 1.267 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.328e-05/0.4383, allocations: 23.97 kB / 1.267 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.4383, allocations: 79.28 kB / 1.267 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of Backend: time 3.5e-07/0.4383, allocations: 4 kB / 1.267 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.4388, allocations: 112.2 kB / 1.267 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0005143/0.4394, allocations: 0.5531 MB / 1.268 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of Templates: time 0.003646/0.443, allocations: 0.7692 MB / 1.268 GB, free: 6.156 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches