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.001105/0.001106, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.349/2.349, allocations: 390.2 MB / 0.6647 GB, free: 360 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.8125 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7968, allocations: 140.4 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003586/0.8005, allocations: 1.424 MB / 0.951 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006932/0.8012, allocations: 249.8 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.8013, allocations: 1.375 kB / 0.9512 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.101e-05/0.8013, allocations: 3.938 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.405e-05/0.8014, allocations: 4 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005018/0.8019, allocations: 66.69 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.802, allocations: 25.39 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.8021, allocations: 2.656 kB / 0.9513 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.033e-05/0.8022, allocations: 16.02 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.8023, allocations: 6.359 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.8023, allocations: 2.281 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.8025, allocations: 64.44 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.429e-05/0.8025, allocations: 7.938 kB / 0.9514 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.8026, allocations: 14.86 kB / 0.9514 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.8027, allocations: 55.14 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.8028, allocations: 1.062 kB / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8028, allocations: 0 / 0.9515 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.8028, allocations: 0 / 0.9515 GB, free: 7.672 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.0006332/0.8034, allocations: 346 kB / 0.9518 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.8035, allocations: 8.75 kB / 0.9518 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.8035, allocations: 2.531 kB / 0.9518 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.8037, allocations: 173.9 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.8037, allocations: 5.938 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.8037, allocations: 384 / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.8039, allocations: 53.7 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.804, allocations: 1.312 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.804, allocations: 3.938 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.804, allocations: 0 / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.8042, allocations: 30.69 kB / 0.9521 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.8046, allocations: 261.8 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.8047, allocations: 42.94 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.8048, allocations: 18.09 kB / 0.9524 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.8055, allocations: 463.2 kB / 0.9528 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.8055, allocations: 31.84 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.8055, allocations: 0 / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003839/0.8059, allocations: 84.3 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.806, allocations: 51.41 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.099e-05/0.806, allocations: 99.25 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.806, allocations: 29.64 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.8061, allocations: 85.36 kB / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.8061, allocations: 5.125 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/0.8061, allocations: 11.97 kB / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.8062, allocations: 320.7 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.8063, allocations: 17.36 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-05/0.8063, allocations: 16.58 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.8065, allocations: 35.89 kB / 0.9536 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.8065, allocations: 3.984 kB / 0.9536 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001726/0.8067, allocations: 68.8 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.8067, allocations: 4.625 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.8067, allocations: 0 / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8067, allocations: 1.406 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.8068, allocations: 13.48 kB / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8068, allocations: 0 / 0.9536 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.8069, allocations: 8.234 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.8069, allocations: 5.375 kB / 0.9537 GB, free: 5.352 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 5.328e-05/0.8069, allocations: 119.1 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.807, allocations: 9.344 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.8072, allocations: 65.66 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.8072, allocations: 0.7188 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.8072, allocations: 1.156 kB / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8072, allocations: 0 / 0.9538 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.8073, allocations: 166.5 kB / 0.954 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8073, allocations: 0 / 0.954 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.8074, allocations: 14.27 kB / 0.954 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.8074, allocations: 0 / 0.954 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.8074, allocations: 7.875 kB / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8074, allocations: 1.344 kB / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8074, allocations: 0 / 0.954 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.8076, allocations: 166.8 kB / 0.9542 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.819e-05/0.8077, allocations: 78.39 kB / 0.9543 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.8077, allocations: 5.141 kB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.8078, allocations: 7.797 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.8078, allocations: 1.344 kB / 0.9543 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.8078, allocations: 4 kB / 0.9543 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.8078, allocations: 78.97 kB / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8078, allocations: 0 / 0.9544 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002351/0.8081, allocations: 14.38 kB / 0.9544 GB, free: 4.609 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.0001995/0.8083, allocations: 119.8 kB / 0.9545 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.8085, allocations: 41.42 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8085, allocations: 0 / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.972e-05/0.8086, allocations: 23.98 kB / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.8088, allocations: 7.219 kB / 0.9546 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00025/0.8091, allocations: 106.8 kB / 0.9547 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.8092, allocations: 0.681 MB / 0.9553 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.058e-05/0.8092, allocations: 1.219 kB / 0.9553 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.8093, allocations: 8.438 kB / 0.9553 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8093, allocations: 4.062 kB / 0.9553 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of Templates: time 0.002903/0.8122, allocations: 0.6628 MB / 0.956 GB, free: 3.309 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches