Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_10_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_10_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.00134/0.00134, allocations: 108 kB / 15.61 MB, free: 152 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.001352/0.001352, allocations: 197.8 kB / 16.54 MB, free: 6.664 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.801/2.801, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 59.91 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5784/0.5804, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001856/0.5823, allocations: 0.5762 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005099/0.5828, allocations: 195.3 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.5829, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.5829, allocations: 0 / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-06/0.5829, allocations: 3.938 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.5832, allocations: 59.83 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.5833, allocations: 4 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.5833, allocations: 0 / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.5834, allocations: 3.984 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.459e-05/0.5834, allocations: 0 / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.5834, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.5836, allocations: 55.94 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.5836, allocations: 3.938 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.5836, allocations: 0 / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.5837, allocations: 39.88 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5837, allocations: 4 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5837, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.5837, allocations: 0 / 1.018 GB, free: 1.539 MB / 0.7637 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.0003575/0.5841, allocations: 323.6 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5841, allocations: 12.03 kB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.5842, allocations: 4.938 kB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.5843, allocations: 160.4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.5843, allocations: 384 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.344e-06/0.5843, allocations: 384 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.85e-05/0.5844, allocations: 34.27 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.5845, allocations: 192 / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5845, allocations: 3.938 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5845, allocations: 3.984 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.381e-05/0.5845, allocations: 3.984 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.5847, allocations: 149.6 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.547e-05/0.5847, allocations: 18.61 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.5848, allocations: 8.859 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008195/0.5856, allocations: 461.4 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.5856, allocations: 38.56 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.5856, allocations: 3.938 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001519/0.5858, allocations: 41.66 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.5859, allocations: 55.44 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.5859, allocations: 89.86 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.586, allocations: 25.7 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.586, allocations: 84.08 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.586, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.5861, allocations: 13.72 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5862, allocations: 310.8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-06/0.5862, allocations: 0 / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-06/0.5862, allocations: 8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.229e-05/0.5863, allocations: 4.859 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5863, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.043e-05/0.5863, allocations: 41.62 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5864, allocations: 4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.5864, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5864, allocations: 3.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.597e-05/0.5864, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.5864, allocations: 4.094 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-06/0.5865, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.5865, allocations: 0 / 1.02 GB, free: 15.34 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 (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 7.43e-05/0.5865, allocations: 109.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.5866, allocations: 0 / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.54e-05/0.5866, allocations: 44.75 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5867, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5867, allocations: 3.938 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.5867, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.5868, allocations: 149.7 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.5868, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.5868, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.5868, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.5868, allocations: 11.94 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.5868, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.5868, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.658e-05/0.5869, allocations: 53.14 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.587, allocations: 85.12 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.587, allocations: 3.938 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-06/0.587, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.587, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.587, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.5871, allocations: 79.28 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5871, allocations: 3.938 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002395/0.5873, allocations: 15.94 kB / 1.021 GB, free: 14.68 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 (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.0002352/0.5876, allocations: 133.1 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.025e-05/0.5876, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5877, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.42e-06/0.5877, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.5878, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.588, allocations: 89.08 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.5883, allocations: 0.669 MB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.079e-05/0.5883, allocations: 4 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.5883, allocations: 7.438 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5883, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of Templates: time 0.002624/0.591, allocations: 412.4 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches