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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001639/0.001639, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001594/0.001594, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.915/2.915, allocations: 482.3 MB / 0.7542 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001926, allocations: 71.92 kB / 0.9232 GB, free: 29.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 162.2 MB / 1.082 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002991/0.3376, allocations: 1.499 MB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005752/0.3382, allocations: 243.3 kB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.3382, allocations: 4 kB / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.3383, allocations: 0 / 1.083 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.158e-05/0.3383, allocations: 3.938 kB / 1.083 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.3387, allocations: 51.89 kB / 1.083 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.3387, allocations: 15.94 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.932e-05/0.3388, allocations: 11.98 kB / 1.083 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.445e-05/0.3389, allocations: 3.984 kB / 1.083 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.3389, allocations: 15.92 kB / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.3389, allocations: 4 kB / 1.083 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3391, allocations: 67.89 kB / 1.083 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.3391, allocations: 3.984 kB / 1.083 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.3391, allocations: 11.94 kB / 1.083 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.3393, allocations: 55.8 kB / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3393, allocations: 0 / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3393, allocations: 0 / 1.084 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3393, allocations: 0 / 1.084 GB, free: 11.79 MB / 0.8419 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.0004918/0.3398, allocations: 347.7 kB / 1.084 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3398, allocations: 12.03 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.3399, allocations: 4.938 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.34, allocations: 164.4 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.34, allocations: 4.375 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.34, allocations: 4.375 kB / 1.084 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.3402, allocations: 50.23 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3402, allocations: 192 / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3403, allocations: 7.875 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.3403, allocations: 3.938 kB / 1.084 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.3404, allocations: 35.97 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.3408, allocations: 245 kB / 1.084 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3409, allocations: 38.5 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/0.341, allocations: 20.91 kB / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/0.3418, allocations: 461.4 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3418, allocations: 38.5 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3418, allocations: 0 / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003509/0.3422, allocations: 81.64 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3422, allocations: 51.41 kB / 1.085 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.3423, allocations: 101.8 kB / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.3424, allocations: 25.7 kB / 1.085 GB, free: 9.832 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.3424, allocations: 84.14 kB / 1.085 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.3424, allocations: 7.906 kB / 1.085 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.3425, allocations: 9.719 kB / 1.085 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3426, allocations: 319 kB / 1.086 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.3427, allocations: 19.97 kB / 1.086 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.3428, allocations: 15.92 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.343, allocations: 36.83 kB / 1.086 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.343, allocations: 0 / 1.086 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.3432, allocations: 77.66 kB / 1.086 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3432, allocations: 4 kB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3432, allocations: 3.938 kB / 1.086 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3432, allocations: 0 / 1.086 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.3433, allocations: 11.98 kB / 1.086 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3433, allocations: 0 / 1.086 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.3434, allocations: 7.984 kB / 1.086 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3434, allocations: 0 / 1.086 GB, free: 9.219 MB / 0.8419 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.374e-05/0.3435, allocations: 113.8 kB / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.3435, allocations: 7.938 kB / 1.086 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.3437, allocations: 68.78 kB / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3438, allocations: 192 / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3438, allocations: 0 / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3438, allocations: 3.984 kB / 1.086 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.344, allocations: 169.6 kB / 1.086 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.344, allocations: 4.031 kB / 1.086 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.525e-05/0.344, allocations: 4 kB / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.344, allocations: 0 / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.3441, allocations: 0 / 1.086 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.3441, allocations: 7.984 kB / 1.086 GB, free: 8.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3441, allocations: 4 kB / 1.086 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.3443, allocations: 175.2 kB / 1.086 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.3444, allocations: 85.03 kB / 1.086 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.3444, allocations: 0 / 1.086 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.339e-05/0.3445, allocations: 4 kB / 1.086 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3446, allocations: 3.984 kB / 1.086 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.3446, allocations: 0 / 1.086 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.3446, allocations: 83.28 kB / 1.086 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3446, allocations: 0 / 1.086 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002449/0.3449, allocations: 20 kB / 1.086 GB, free: 8.383 MB / 0.8419 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.000234/0.3451, allocations: 115.3 kB / 1.087 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.3453, allocations: 31.97 kB / 1.087 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3454, allocations: 3.938 kB / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.956e-05/0.3455, allocations: 28.03 kB / 1.087 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.3457, allocations: 13.64 kB / 1.087 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.346, allocations: 105.5 kB / 1.087 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3464, allocations: 0.6768 MB / 1.087 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.3464, allocations: 7.938 kB / 1.087 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.3464, allocations: 11.5 kB / 1.087 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3464, allocations: 0 / 1.087 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of Templates: time 0.0032/0.3497, allocations: 0.5997 MB / 1.088 GB, free: 6.73 MB / 0.8419 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches