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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008129/0.008129, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001839/0.001838, allocations: 192.5 kB / 16.79 MB, free: 5.809 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.387/1.387, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.503/2.503, allocations: 390.2 MB / 0.6649 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.662/0.6635, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002473/0.666, allocations: 1.49 MB / 0.951 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005091/0.6666, allocations: 256.8 kB / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.6666, allocations: 0 / 0.9513 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.6666, allocations: 3.984 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.6667, allocations: 1.375 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.667, allocations: 48.39 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.667, allocations: 25.48 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.293e-05/0.6671, allocations: 6.75 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.6672, allocations: 2.75 kB / 0.9514 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.485e-05/0.6672, allocations: 18.67 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.6672, allocations: 1.375 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.6674, allocations: 71.48 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.6674, allocations: 0 / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.6674, allocations: 14.67 kB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.826e-05/0.6675, allocations: 34.94 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6675, allocations: 1.375 kB / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6675, allocations: 0 / 0.9515 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.6676, allocations: 3.938 kB / 0.9515 GB, free: 7.621 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.0003854/0.6679, allocations: 353.9 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.668, allocations: 9.625 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.668, allocations: 2.312 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.123e-05/0.6681, allocations: 169.7 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.6681, allocations: 8.359 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.6681, allocations: 1.562 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.6683, allocations: 46.25 kB / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.6683, allocations: 192 / 0.9521 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.6683, allocations: 3.938 kB / 0.9521 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6683, allocations: 9.328 kB / 0.9521 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.6685, allocations: 29.75 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/0.6688, allocations: 244.7 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.6689, allocations: 49.08 kB / 0.9524 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.099e-05/0.669, allocations: 26.31 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/0.6696, allocations: 454.7 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.6696, allocations: 35.88 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.6697, allocations: 4 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003367/0.67, allocations: 80.8 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.67, allocations: 55.34 kB / 0.953 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.6701, allocations: 103.6 kB / 0.9531 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.6701, allocations: 25.7 kB / 0.9531 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.6701, allocations: 81.67 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.6701, allocations: 12.88 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.6702, allocations: 12.5 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.6702, allocations: 310.8 kB / 0.9535 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.6703, allocations: 21.59 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.6704, allocations: 13.86 kB / 0.9536 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.6706, allocations: 39.33 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6706, allocations: 0 / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.6708, allocations: 76.66 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6708, allocations: 6.219 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.6708, allocations: 0 / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.6708, allocations: 1.219 kB / 0.9537 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.671, allocations: 9.453 kB / 0.9537 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.671, allocations: 4.031 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.671, allocations: 7.953 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.671, allocations: 1.344 kB / 0.9537 GB, free: 5.297 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.148e-05/0.6711, allocations: 111.1 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.6712, allocations: 5.344 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.6714, allocations: 74.27 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.6714, allocations: 5.625 kB / 0.9539 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.6714, allocations: 3.938 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6714, allocations: 3.938 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.6716, allocations: 161.6 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6716, allocations: 1.438 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.6716, allocations: 5.031 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6717, allocations: 1.344 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.6717, allocations: 0 / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.6717, allocations: 9.359 kB / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6717, allocations: 0 / 0.9541 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.6719, allocations: 162.2 kB / 0.9542 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.6719, allocations: 82.78 kB / 0.9543 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.672, allocations: 0 / 0.9543 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.672, allocations: 3.906 kB / 0.9543 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.6721, allocations: 9.266 kB / 0.9543 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.6721, allocations: 5.344 kB / 0.9543 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.785e-05/0.6721, allocations: 81.94 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6721, allocations: 0 / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000259/0.6724, allocations: 14.94 kB / 0.9544 GB, free: 4.555 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.000234/0.6726, allocations: 118.7 kB / 0.9545 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.6729, allocations: 41.52 kB / 0.9546 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6729, allocations: 0 / 0.9546 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.466e-05/0.673, allocations: 21.27 kB / 0.9546 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.6732, allocations: 5.938 kB / 0.9546 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002793/0.6735, allocations: 131 kB / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.6737, allocations: 0.6818 MB / 0.9554 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.165e-05/0.6737, allocations: 8.875 kB / 0.9554 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of SimCode: time 1.172e-06/0.6737, allocations: 0 / 0.9554 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.002154/0.6758, allocations: 0.7685 MB / 0.9561 GB, free: 3.191 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/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