Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_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.001117/0.001117, allocations: 98.88 kB / 16.02 MB, free: 76 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.001587/0.001587, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003746, allocations: 8 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.648/0.6484, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001794/0.6502, allocations: 1.161 MB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006209/0.6509, allocations: 248.1 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.535e-05/0.6509, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.6509, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.651, allocations: 3.938 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.6514, allocations: 39.91 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.813e-05/0.6514, allocations: 27.91 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.6515, allocations: 7.938 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.333e-05/0.6516, allocations: 11.92 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.6516, allocations: 11.94 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.6516, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.6518, allocations: 63.88 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.061e-05/0.6518, allocations: 4 kB / 1.025 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.6519, allocations: 41.61 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.652, allocations: 31.95 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.652, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.834e-06/0.652, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.652, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 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.0004809/0.6525, allocations: 349.5 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6526, allocations: 8.031 kB / 1.026 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.6526, allocations: 8.938 kB / 1.026 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.6527, allocations: 168.3 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.6528, allocations: 8.359 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.6528, allocations: 4.375 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.653, allocations: 54.25 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.653, allocations: 192 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.653, allocations: 7.922 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.653, allocations: 0 / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.6532, allocations: 43.91 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.6536, allocations: 252.9 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.6537, allocations: 46.5 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.6538, allocations: 32.91 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006557/0.6545, allocations: 453.5 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.6545, allocations: 34.5 kB / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.6545, allocations: 0 / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003752/0.6549, allocations: 97.64 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.655, allocations: 55.41 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.976e-05/0.6551, allocations: 102 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.6551, allocations: 25.7 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.6551, allocations: 88.06 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.6552, allocations: 7.906 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.6552, allocations: 13.72 kB / 1.027 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6553, allocations: 310.8 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.6554, allocations: 19.98 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.066e-05/0.6555, allocations: 27.97 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.6557, allocations: 52.83 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6557, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002166/0.6559, allocations: 77.59 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.6559, allocations: 8 kB / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6559, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.656, allocations: 7.969 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.628e-05/0.6561, allocations: 8 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.6561, allocations: 3.984 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.6561, allocations: 8 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.6561, allocations: 0 / 1.028 GB, free: 11.6 MB / 0.7794 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.975e-05/0.6562, allocations: 114.3 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.6563, allocations: 11.91 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.6565, allocations: 80.7 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6565, allocations: 4 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6565, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.6566, allocations: 0 / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.6567, allocations: 165.6 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6567, allocations: 0 / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.6568, allocations: 15.98 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6568, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.6568, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.6568, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6568, allocations: 4 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.6571, allocations: 175.4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.587e-05/0.6571, allocations: 77.11 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.6572, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.6573, allocations: 19.98 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.6573, allocations: 4.219 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.6573, allocations: 0 / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.6574, allocations: 87.25 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6574, allocations: 3.938 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000233/0.6576, allocations: 16 kB / 1.028 GB, free: 10.74 MB / 0.7794 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.0002059/0.6578, allocations: 119.2 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.658, allocations: 43.97 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.658, allocations: 0 / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.418e-05/0.6581, allocations: 31.98 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.6584, allocations: 10.17 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.6587, allocations: 130.6 kB / 1.029 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.6589, allocations: 0.677 MB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.659, allocations: 7.438 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.659, allocations: 0 / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of Templates: time 0.002306/0.6613, allocations: 0.7612 MB / 1.03 GB, free: 8.898 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches