Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_10_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.001561/0.001561, allocations: 116.1 kB / 16.37 MB, free: 6 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.001785/0.001785, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.487/2.487, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.88 kB / 0.8707 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2789, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002526/0.2814, allocations: 1.44 MB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004915/0.2819, allocations: 256 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.282, allocations: 3.938 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.282, allocations: 0 / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.2821, allocations: 7.938 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.2824, allocations: 63.72 kB / 1.021 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.808e-05/0.2825, allocations: 23.92 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.324e-05/0.2826, allocations: 4 kB / 1.021 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.82e-05/0.2826, allocations: 15.98 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.2827, allocations: 7.938 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.2827, allocations: 0 / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.2828, allocations: 67.86 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.2828, allocations: 8 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.2829, allocations: 7.922 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.283, allocations: 55.86 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.283, allocations: 0 / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.283, allocations: 0 / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.283, allocations: 0 / 1.021 GB, free: 7.887 MB / 0.795 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.0003962/0.2834, allocations: 347.5 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2835, allocations: 12.92 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.2835, allocations: 4.844 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.02e-05/0.2836, allocations: 168.4 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.2836, allocations: 384 / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.2836, allocations: 384 / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.2838, allocations: 54.17 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2838, allocations: 192 / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.2838, allocations: 7.938 kB / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.2838, allocations: 0 / 1.021 GB, free: 7.211 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.284, allocations: 31.97 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.2843, allocations: 249 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.2844, allocations: 34.5 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.2845, allocations: 26.44 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000641/0.2851, allocations: 465.4 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2852, allocations: 30.56 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2852, allocations: 4 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003281/0.2855, allocations: 77.64 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2856, allocations: 59.34 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.2856, allocations: 97.84 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.2856, allocations: 25.7 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.2857, allocations: 88.14 kB / 1.022 GB, free: 5.848 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.2857, allocations: 8.031 kB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.2857, allocations: 9.719 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.2858, allocations: 322.8 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.793e-05/0.2859, allocations: 15.92 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.286, allocations: 19.92 kB / 1.023 GB, free: 5.465 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.2861, allocations: 40.89 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2861, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/0.2863, allocations: 73.5 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2864, allocations: 6.656 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2864, allocations: 4 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2864, allocations: 0 / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.822e-05/0.2865, allocations: 11.98 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.2865, allocations: 4.031 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.2865, allocations: 12.17 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.2865, allocations: 0 / 1.023 GB, free: 5.309 MB / 0.795 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.798e-05/0.2866, allocations: 113.7 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.2866, allocations: 11.98 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.2868, allocations: 64.78 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2869, allocations: 32 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2869, allocations: 4 kB / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2869, allocations: 0 / 1.023 GB, free: 5.102 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/0.287, allocations: 165.6 kB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.287, allocations: 0 / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.2871, allocations: 7.984 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2871, allocations: 0 / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.2871, allocations: 0 / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2871, allocations: 4 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2871, allocations: 0 / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.2873, allocations: 171.4 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.2874, allocations: 84.95 kB / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.2874, allocations: 0 / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.2875, allocations: 7.984 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.2875, allocations: 3.938 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2875, allocations: 0 / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.177e-05/0.2875, allocations: 87.31 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2876, allocations: 0 / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002369/0.2878, allocations: 16 kB / 1.024 GB, free: 4.48 MB / 0.795 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.0001965/0.288, allocations: 119.7 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.2882, allocations: 43.89 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2882, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.2883, allocations: 19.98 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.2886, allocations: 7.938 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.2889, allocations: 97.62 kB / 1.024 GB, free: 4.164 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2891, allocations: 0.6768 MB / 1.025 GB, free: 3.461 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.2892, allocations: 8.062 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.2892, allocations: 11.44 kB / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.2892, allocations: 0 / 1.025 GB, free: 3.441 MB / 0.795 GB Notification: Performance of Templates: time 0.002867/0.2921, allocations: 0.6495 MB / 1.025 GB, free: 2.793 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches