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.0009731/0.0009731, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008008/0.008008, allocations: 168.4 kB / 16.26 MB, free: 6.648 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.474/2.474, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003873, allocations: 8 kB / 0.816 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.8885, allocations: 142.4 MB / 0.955 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001698/0.8902, allocations: 1.157 MB / 0.9562 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005905/0.8909, allocations: 243.9 kB / 0.9564 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.8909, allocations: 5.125 kB / 0.9564 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.8909, allocations: 3.938 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.127e-05/0.891, allocations: 1.125 kB / 0.9564 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.8913, allocations: 43.94 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.006e-05/0.8914, allocations: 20.52 kB / 0.9565 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.8915, allocations: 6.297 kB / 0.9565 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.223e-05/0.8915, allocations: 15.89 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.8916, allocations: 2.25 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.8916, allocations: 0.875 kB / 0.9565 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/0.8917, allocations: 69.91 kB / 0.9566 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.8918, allocations: 5.062 kB / 0.9566 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.8918, allocations: 35.22 kB / 0.9566 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.8919, allocations: 52.17 kB / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8919, allocations: 1.219 kB / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.892, allocations: 0 / 0.9566 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.892, allocations: 0 / 0.9566 GB, free: 6.52 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.0004383/0.8924, allocations: 344.4 kB / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8925, allocations: 8.812 kB / 0.957 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.8925, allocations: 7.406 kB / 0.957 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.687e-05/0.8926, allocations: 165.5 kB / 0.9571 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.8926, allocations: 4.312 kB / 0.9572 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.8926, allocations: 1.75 kB / 0.9572 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.8928, allocations: 54.42 kB / 0.9572 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8929, allocations: 4.188 kB / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.8929, allocations: 5.406 kB / 0.9572 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.8929, allocations: 0 / 0.9572 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.8931, allocations: 44.66 kB / 0.9573 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.8934, allocations: 260.5 kB / 0.9575 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.8935, allocations: 55.81 kB / 0.9576 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.8936, allocations: 27.12 kB / 0.9576 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/0.8944, allocations: 462.4 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.8944, allocations: 30.56 kB / 0.9581 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.8944, allocations: 0 / 0.9581 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004766/0.8949, allocations: 99.61 kB / 0.9582 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.895, allocations: 55.34 kB / 0.9582 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.8951, allocations: 100 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.8951, allocations: 29.83 kB / 0.9583 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.8951, allocations: 85.58 kB / 0.9584 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.8952, allocations: 9.203 kB / 0.9584 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.8952, allocations: 15.28 kB / 0.9584 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.8953, allocations: 310.8 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.8954, allocations: 19.36 kB / 0.9587 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.8955, allocations: 29 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.8957, allocations: 45.83 kB / 0.9588 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.8957, allocations: 4.062 kB / 0.9588 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002292/0.896, allocations: 81.41 kB / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.896, allocations: 5.344 kB / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.896, allocations: 1.938 kB / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.896, allocations: 0 / 0.9589 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.8962, allocations: 15.33 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.8962, allocations: 1.812 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.8962, allocations: 5.469 kB / 0.9589 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.8963, allocations: 192 / 0.9589 GB, free: 4.188 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 8.881e-05/0.8964, allocations: 115.5 kB / 0.959 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.8964, allocations: 5.766 kB / 0.959 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.8967, allocations: 85.33 kB / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.8967, allocations: 0 / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.8967, allocations: 0 / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8967, allocations: 0 / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.8969, allocations: 162 kB / 0.9593 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.8969, allocations: 3.938 kB / 0.9593 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.045e-05/0.8969, allocations: 21.64 kB / 0.9593 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.8969, allocations: 0 / 0.9593 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.862e-05/0.897, allocations: 0 / 0.9593 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.897, allocations: 5.219 kB / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.897, allocations: 0 / 0.9593 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.8972, allocations: 172.3 kB / 0.9595 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.8973, allocations: 78.48 kB / 0.9595 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.8973, allocations: 5.312 kB / 0.9596 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.636e-05/0.8974, allocations: 13.48 kB / 0.9596 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.811e-05/0.8974, allocations: 1.375 kB / 0.9596 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.8974, allocations: 1.406 kB / 0.9596 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.214e-05/0.8975, allocations: 86.02 kB / 0.9597 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8975, allocations: 0 / 0.9597 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002576/0.8978, allocations: 13.75 kB / 0.9597 GB, free: 3.441 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.000261/0.898, allocations: 120 kB / 0.9598 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.8983, allocations: 46.22 kB / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8983, allocations: 0 / 0.9598 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.8984, allocations: 24.48 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.8987, allocations: 16.77 kB / 0.9599 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.8991, allocations: 99.81 kB / 0.96 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.8994, allocations: 0.6777 MB / 0.9606 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.8994, allocations: 4 kB / 0.9606 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.8995, allocations: 9.312 kB / 0.9606 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of SimCode: time 1.844e-06/0.8995, allocations: 0 / 0.9606 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.004044/0.9035, allocations: 0.5802 MB / 0.9612 GB, free: 2.188 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