Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_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.001489/0.001489, allocations: 114.3 kB / 16.42 MB, free: 6.461 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.001589/0.001589, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 63.91 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9679/0.9693, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002504/0.9719, allocations: 1.419 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005236/0.9724, allocations: 269 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.9725, allocations: 1.094 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.9725, allocations: 0.9375 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.9726, allocations: 7.922 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.9729, allocations: 55.45 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.564e-05/0.973, allocations: 25.17 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.884e-05/0.9731, allocations: 7.766 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.9732, allocations: 17.11 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.9732, allocations: 8.953 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.9732, allocations: 2.125 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.9734, allocations: 59.81 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.9734, allocations: 1.312 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.9734, allocations: 12.27 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.9736, allocations: 57.22 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.9736, allocations: 0 / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9736, allocations: 0.75 kB / 1.091 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.9736, allocations: 0 / 1.091 GB, free: 4.238 MB / 0.8575 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.0004087/0.9741, allocations: 349.8 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9741, allocations: 9.438 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.9741, allocations: 11.06 kB / 1.091 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.9742, allocations: 162.7 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.9742, allocations: 5.188 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.9743, allocations: 1.281 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.9745, allocations: 49.38 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.9745, allocations: 4.188 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.9745, allocations: 5.625 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.9745, allocations: 0 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.9747, allocations: 36.89 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002841/0.975, allocations: 242.9 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.9751, allocations: 44.61 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.9752, allocations: 18.91 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.9759, allocations: 458.7 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.9759, allocations: 40.02 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.9759, allocations: 0 / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003783/0.9763, allocations: 83.53 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.9763, allocations: 53 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.637e-05/0.9764, allocations: 105.5 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.9764, allocations: 25.7 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.9765, allocations: 89.86 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.9765, allocations: 5.703 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.9765, allocations: 17.7 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.9766, allocations: 311.6 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/0.9767, allocations: 14.66 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.676e-05/0.9767, allocations: 17.7 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.9769, allocations: 49.38 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.9769, allocations: 0 / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.9771, allocations: 71.14 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.9772, allocations: 6.219 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.9772, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.9772, allocations: 1.156 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.963e-05/0.9773, allocations: 12.36 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.9773, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.9773, allocations: 7.812 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.9774, allocations: 0 / 1.093 GB, free: 2.043 MB / 0.8575 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 4.962e-05/0.9774, allocations: 112.8 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.9774, allocations: 5.094 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.9777, allocations: 79.33 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.9777, allocations: 0 / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.9777, allocations: 1.062 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.9777, allocations: 79.03 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.9777, allocations: 0.7969 kB / 1.093 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.9778, allocations: 10.28 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.9779, allocations: 2.438 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002472/0.9781, allocations: 149.9 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002376/0.9784, allocations: 242.8 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.725e-05/0.9785, allocations: 19.48 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.9785, allocations: 80.28 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of Backend: time 1.182e-06/0.9785, allocations: 4.062 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005555/0.9791, allocations: 115.4 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003488/0.9794, allocations: 0.5541 MB / 1.094 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of Templates: time 0.003832/0.9833, allocations: 0.7632 MB / 1.095 GB, free: 16.62 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches