Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_9_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.00111/0.00111, 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.001204/0.001204, allocations: 195.9 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.577/2.577, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 67.84 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8168/0.8189, allocations: 140.4 MB / 0.9491 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002769/0.8217, allocations: 1.485 MB / 0.9505 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005267/0.8223, allocations: 244.3 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.917e-05/0.8223, allocations: 0 / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.8223, allocations: 0 / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.8224, allocations: 5.031 kB / 0.9508 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.8228, allocations: 53.58 kB / 0.9508 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.057e-05/0.8228, allocations: 18.05 kB / 0.9509 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.8229, allocations: 7.312 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.31e-05/0.823, allocations: 10.89 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.823, allocations: 10.22 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.823, allocations: 2.281 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.8232, allocations: 65.41 kB / 0.9509 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.8232, allocations: 13.11 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.8233, allocations: 6.453 kB / 0.951 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.8234, allocations: 59.89 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8234, allocations: 0 / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8234, allocations: 0 / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.8234, allocations: 1.406 kB / 0.951 GB, free: 7.559 MB / 0.7169 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.0004242/0.8239, allocations: 345.6 kB / 0.9513 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8239, allocations: 8.594 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.824, allocations: 2.25 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.8241, allocations: 170.6 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.8241, allocations: 384 / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.8241, allocations: 2.062 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.8243, allocations: 49.06 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.8243, allocations: 192 / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8243, allocations: 8.984 kB / 0.9516 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.8243, allocations: 4 kB / 0.9516 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.8245, allocations: 35.53 kB / 0.9516 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.8248, allocations: 253.4 kB / 0.9519 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.8249, allocations: 39.88 kB / 0.9519 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/0.825, allocations: 26.53 kB / 0.9519 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006232/0.8257, allocations: 460 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.8257, allocations: 30.56 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8257, allocations: 0 / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000347/0.826, allocations: 81.52 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.8261, allocations: 55.41 kB / 0.9525 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.8261, allocations: 95.73 kB / 0.9526 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.8262, allocations: 25.7 kB / 0.9526 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.8262, allocations: 89.47 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.8262, allocations: 3.906 kB / 0.9527 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.8263, allocations: 20.88 kB / 0.9527 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.914e-05/0.8263, allocations: 316.4 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.889e-05/0.8264, allocations: 20.17 kB / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.795e-05/0.8265, allocations: 21.47 kB / 0.9531 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.8266, allocations: 40.08 kB / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8266, allocations: 0 / 0.9531 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001768/0.8268, allocations: 67.59 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.8268, allocations: 5.5 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8269, allocations: 0 / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8269, allocations: 1.562 kB / 0.9532 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.827, allocations: 9.109 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.827, allocations: 1.094 kB / 0.9532 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.827, allocations: 7.344 kB / 0.9532 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.827, allocations: 5.234 kB / 0.9532 GB, free: 5.238 MB / 0.7169 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.572e-05/0.8271, allocations: 114.8 kB / 0.9533 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.8272, allocations: 13.95 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.8274, allocations: 65.78 kB / 0.9534 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.8274, allocations: 0.9688 kB / 0.9534 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.8274, allocations: 4.031 kB / 0.9534 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.8274, allocations: 1.062 kB / 0.9534 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.8275, allocations: 158.1 kB / 0.9536 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8275, allocations: 0 / 0.9536 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.726e-05/0.8276, allocations: 9.547 kB / 0.9536 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.8276, allocations: 5.375 kB / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.8276, allocations: 0 / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.8276, allocations: 0 / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.8276, allocations: 1.375 kB / 0.9536 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.8279, allocations: 170.2 kB / 0.9537 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.631e-05/0.8279, allocations: 78.45 kB / 0.9538 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.8279, allocations: 1.188 kB / 0.9538 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.828, allocations: 6.766 kB / 0.9538 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.828, allocations: 1.188 kB / 0.9538 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.8281, allocations: 1.219 kB / 0.9538 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.738e-05/0.8281, allocations: 91.14 kB / 0.9539 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8281, allocations: 0 / 0.9539 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002432/0.8283, allocations: 18.31 kB / 0.9539 GB, free: 4.496 MB / 0.7169 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.0001957/0.8285, allocations: 114.6 kB / 0.954 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.8287, allocations: 41.94 kB / 0.9541 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8288, allocations: 0 / 0.9541 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.8288, allocations: 19.61 kB / 0.9541 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.8291, allocations: 23.8 kB / 0.9541 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.8293, allocations: 100.7 kB / 0.9542 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.8295, allocations: 0.6847 MB / 0.9549 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.137e-05/0.8295, allocations: 1.406 kB / 0.9549 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.8295, allocations: 8.75 kB / 0.9549 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8295, allocations: 0 / 0.9549 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of Templates: time 0.002723/0.8322, allocations: 0.591 MB / 0.9555 GB, free: 3.23 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches