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.001618/0.001618, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001918/0.001918, allocations: 187 kB / 17.34 MB, free: 5.762 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.16 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.261/2.261, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 0.9515 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9527/0.9542, 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.003606/0.9579, allocations: 1.415 MB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006076/0.9586, allocations: 259.8 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.9586, allocations: 1.219 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.9586, allocations: 0.75 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.9587, allocations: 8.859 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004165/0.9591, allocations: 58.94 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.9592, allocations: 19.75 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.9593, allocations: 12.8 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.174e-05/0.9594, allocations: 9.188 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.056e-05/0.9595, allocations: 14.22 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.9595, allocations: 2 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.9596, allocations: 62.91 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.9597, allocations: 1.172 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.9597, allocations: 12.19 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.9598, allocations: 56.47 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9599, allocations: 5.812 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9599, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.9599, allocations: 4 kB / 1.091 GB, free: 4.234 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.0004075/0.9603, allocations: 344.7 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.9603, allocations: 8.344 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.9604, allocations: 7.219 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.885e-05/0.9605, allocations: 162.9 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.9605, allocations: 5.312 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.9605, allocations: 1.562 kB / 1.091 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.9607, allocations: 57.05 kB / 1.091 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9607, allocations: 4.125 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.9607, allocations: 5.547 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9607, allocations: 0 / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001656/0.9609, allocations: 32.91 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.9612, allocations: 242.5 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.9613, allocations: 44.97 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.632e-05/0.9614, allocations: 22.92 kB / 1.091 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006529/0.962, allocations: 454.6 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.9621, allocations: 39.5 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.9621, allocations: 5.062 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003592/0.9624, allocations: 79.58 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.9625, allocations: 52.56 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.9626, allocations: 101.4 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.9626, allocations: 29.83 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.071e-05/0.9626, allocations: 85.62 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.9626, allocations: 1.578 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.9627, allocations: 16.41 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.995e-05/0.9627, allocations: 313.1 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.9628, allocations: 18.61 kB / 1.093 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.9629, allocations: 17.84 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.9631, allocations: 41.97 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9631, allocations: 0 / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001824/0.9633, allocations: 71.34 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.9633, allocations: 4.938 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.9633, allocations: 3.984 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.9633, allocations: 5.672 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.9634, allocations: 8.391 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.9634, allocations: 1.188 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.9635, allocations: 10.19 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.9635, allocations: 1.312 kB / 1.093 GB, free: 2.047 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 5.376e-05/0.9635, allocations: 115.9 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.9636, allocations: 0.9375 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.9638, allocations: 79.48 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.9638, allocations: 1.094 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.9638, allocations: 0 / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.9638, allocations: 0.6094 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.9639, allocations: 163.9 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.9639, allocations: 0.6094 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.964, allocations: 9.172 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.964, allocations: 0 / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.964, allocations: 1.75 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.964, allocations: 8.031 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.964, allocations: 1 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.9642, allocations: 166.5 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.9643, allocations: 84.38 kB / 1.093 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.9643, allocations: 4.75 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.9644, allocations: 10.3 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.9644, allocations: 2.422 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.9644, allocations: 1.141 kB / 1.093 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.9645, allocations: 84.31 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9645, allocations: 0 / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000247/0.9647, allocations: 18.45 kB / 1.093 GB, free: 1.336 MB / 0.8575 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.0002064/0.9649, allocations: 119.3 kB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.9651, allocations: 38.53 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9652, allocations: 0 / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.55e-05/0.9653, allocations: 17.97 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.9655, allocations: 12.12 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.9658, allocations: 138.4 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.966, allocations: 0.6753 MB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.9661, allocations: 9.5 kB / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.9661, allocations: 0 / 1.094 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of Templates: time 0.003091/0.9692, allocations: 0.7707 MB / 1.095 GB, free: 16.33 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