Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001344, allocations: 100.9 kB / 16.4 MB, free: 6.461 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.001276/0.001276, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.731/2.731, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 67.91 kB / 1.055 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8704/0.8718, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002066/0.874, allocations: 0.5882 MB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005345/0.8745, allocations: 195.3 kB / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.8746, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.8746, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-06/0.8746, allocations: 0 / 1.209 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.875, allocations: 55.83 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.8751, allocations: 7.984 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.8751, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.411e-05/0.8752, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.238e-05/0.8752, allocations: 4 kB / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.162e-06/0.8752, allocations: 0 / 1.209 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001841/0.8754, allocations: 59.88 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.8754, allocations: 0 / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.8754, allocations: 11.92 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.8756, allocations: 35.95 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8756, allocations: 0 / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8756, allocations: 0 / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.8756, allocations: 4 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003262/0.8759, allocations: 319.6 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.876, allocations: 12.03 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.876, allocations: 8.875 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.8761, allocations: 160.4 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.8761, allocations: 384 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.8762, allocations: 384 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.8763, allocations: 34.2 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.8763, allocations: 4.188 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.8763, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8763, allocations: 0 / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.8763, allocations: 3.984 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001484/0.8765, allocations: 149.7 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.572e-05/0.8765, allocations: 14.58 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.8765, allocations: 4.859 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007909/0.8773, allocations: 469.5 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.8774, allocations: 30.56 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.8774, allocations: 0 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001405/0.8775, allocations: 33.64 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.45e-05/0.8776, allocations: 55.52 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.596e-05/0.8776, allocations: 93.86 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.8776, allocations: 29.7 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.674e-05/0.8777, allocations: 80.14 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.8777, allocations: 4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.8777, allocations: 9.719 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8779, allocations: 314.8 kB / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.8779, allocations: 0 / 1.211 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.8779, allocations: 7.938 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.8779, allocations: 8.922 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8779, allocations: 0 / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.089e-05/0.878, allocations: 45.59 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.878, allocations: 5.875 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.878, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.878, allocations: 3.938 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.721e-05/0.8781, allocations: 4 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.8781, allocations: 0 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.768e-06/0.8781, allocations: 0 / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.8781, allocations: 4.031 kB / 1.211 GB, free: 10.45 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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 6.532e-05/0.8782, allocations: 105.8 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.8782, allocations: 4 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.649e-05/0.8783, allocations: 48.69 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.8783, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.8783, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.8783, allocations: 0 / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.299e-05/0.8784, allocations: 145.7 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8784, allocations: 7.969 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.55e-05/0.8785, allocations: 7.984 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.8785, allocations: 0 / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.8785, allocations: 3.938 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.8785, allocations: 4 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8785, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.135e-05/0.8786, allocations: 61.08 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.8786, allocations: 81.09 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.8786, allocations: 7.969 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-06/0.8786, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.739e-06/0.8786, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.8786, allocations: 0 / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.8787, allocations: 79.28 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8787, allocations: 0 / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001985/0.8789, allocations: 8 kB / 1.212 GB, free: 9.789 MB / 0.9356 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 (1): * Single equations (assignments): 1 * 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.0002076/0.8791, allocations: 131.2 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.527e-05/0.8792, allocations: 4 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8792, allocations: 0 / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.674e-06/0.8792, allocations: 3.938 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.8793, allocations: 8 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/0.8795, allocations: 102.8 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.8798, allocations: 0.6729 MB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.8798, allocations: 11.44 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.8798, allocations: 0 / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of Templates: time 0.001859/0.8817, allocations: 0.5466 MB / 1.213 GB, free: 8.246 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches