Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_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.001503/0.001502, allocations: 105.3 kB / 16.41 MB, free: 6.453 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.001693/0.001693, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7354 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8706/0.872, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002292/0.8744, allocations: 1.422 MB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004715/0.8749, allocations: 247.2 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.8749, allocations: 0 / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.8749, allocations: 3.938 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.335e-05/0.875, allocations: 3.938 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.8753, allocations: 55.89 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.566e-05/0.8754, allocations: 19.92 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.8755, allocations: 15.98 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.8755, allocations: 11.86 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.275e-05/0.8755, allocations: 8 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.8755, allocations: 4 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.8757, allocations: 59.88 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.8757, allocations: 7.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.8757, allocations: 7.938 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.8759, allocations: 55.91 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8759, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8759, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.8759, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 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.0004129/0.8763, allocations: 343.3 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.8764, allocations: 12.03 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.8764, allocations: 0.9375 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.8765, allocations: 168.3 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-06/0.8765, allocations: 4.375 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.8765, allocations: 4.312 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001685/0.8767, allocations: 54.23 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.8767, allocations: 192 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.8767, allocations: 3.938 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.8767, allocations: 0 / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.8769, allocations: 35.95 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.8772, allocations: 241 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.8773, allocations: 50.42 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.484e-05/0.8774, allocations: 20.91 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006308/0.8781, allocations: 449.5 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.8781, allocations: 38.55 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.8781, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003395/0.8784, allocations: 85.5 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.8785, allocations: 55.39 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.8786, allocations: 97.86 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.8786, allocations: 25.83 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.8786, allocations: 88.14 kB / 1.212 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.8786, allocations: 11.89 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.8787, allocations: 17.7 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.57e-05/0.8788, allocations: 310.8 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.8789, allocations: 15.98 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.8789, allocations: 11.98 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.8791, allocations: 44.88 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8791, allocations: 0 / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001996/0.8793, allocations: 73.55 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.8793, allocations: 4 kB / 1.212 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.8793, allocations: 3.984 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.8794, allocations: 3.938 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.8794, allocations: 12.03 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.8795, allocations: 0 / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.8795, allocations: 7.984 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.8795, allocations: 0 / 1.212 GB, free: 9.121 MB / 0.9356 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 6.552e-05/0.8796, allocations: 113.8 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.8796, allocations: 0 / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.8799, allocations: 76.78 kB / 1.213 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.8799, allocations: 3.984 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.8799, allocations: 7.938 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.8799, allocations: 3.938 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.8801, allocations: 157.6 kB / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8801, allocations: 0 / 1.213 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.8801, allocations: 7.984 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.8801, allocations: 4 kB / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.8801, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8802, allocations: 0 / 1.213 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8802, allocations: 4.031 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.8804, allocations: 167.4 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.8804, allocations: 79.12 kB / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.8805, allocations: 0 / 1.213 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.8805, allocations: 7.984 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.8806, allocations: 8.016 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.8806, allocations: 4 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.8806, allocations: 79.27 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8806, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002396/0.8809, allocations: 24 kB / 1.213 GB, free: 8.289 MB / 0.9356 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.0001874/0.8811, allocations: 119.2 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.8813, allocations: 35.95 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.8813, allocations: 0 / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.658e-05/0.8814, allocations: 19.98 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.8816, allocations: 7.938 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.8819, allocations: 127.3 kB / 1.214 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.8822, allocations: 0.6768 MB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.8822, allocations: 7.438 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.8822, allocations: 3.938 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of Templates: time 0.002108/0.8843, allocations: 0.7865 MB / 1.215 GB, free: 6.441 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches