Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1",fileNamePrefix="Buildings_9_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_9_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.001098/0.001098, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009886/0.009886, allocations: 169.9 kB / 16.26 MB, free: 6.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.507/1.507, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.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.531/2.531, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 11.94 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.885/0.8856, allocations: 142.4 MB / 0.955 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007642/0.8864, allocations: 323.3 kB / 0.9554 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005254/0.8869, allocations: 198 kB / 0.9555 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.122e-05/0.8869, allocations: 1.094 kB / 0.9555 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.887, allocations: 0 / 0.9555 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.887, allocations: 0 / 0.9555 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003444/0.8873, allocations: 43.69 kB / 0.9556 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.528e-05/0.8874, allocations: 0 / 0.9556 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.8874, allocations: 1.406 kB / 0.9556 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.477e-05/0.8875, allocations: 4 kB / 0.9556 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.445e-05/0.8875, allocations: 5.422 kB / 0.9556 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.305e-06/0.8875, allocations: 0 / 0.9556 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.8877, allocations: 65.84 kB / 0.9557 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.8877, allocations: 0 / 0.9557 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.8878, allocations: 26.83 kB / 0.9557 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.8879, allocations: 40.41 kB / 0.9557 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.8879, allocations: 0 / 0.9557 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8879, allocations: 5.125 kB / 0.9557 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8879, allocations: 3.938 kB / 0.9557 GB, free: 7.262 MB / 0.7169 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.000244/0.8882, allocations: 320.2 kB / 0.956 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.8882, allocations: 9.031 kB / 0.956 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.703e-05/0.8882, allocations: 0.9375 kB / 0.956 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.524e-05/0.8883, allocations: 161.5 kB / 0.9562 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.8883, allocations: 4.375 kB / 0.9562 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.8883, allocations: 1.375 kB / 0.9562 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.536e-05/0.8884, allocations: 39.44 kB / 0.9562 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.8885, allocations: 5.266 kB / 0.9562 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.8885, allocations: 7.938 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.8885, allocations: 0 / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.8885, allocations: 2.469 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001099/0.8886, allocations: 141.7 kB / 0.9564 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.387e-05/0.8887, allocations: 16.89 kB / 0.9564 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.8887, allocations: 6.047 kB / 0.9564 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006922/0.8894, allocations: 468.2 kB / 0.9569 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.8894, allocations: 30.56 kB / 0.9569 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.8894, allocations: 1.094 kB / 0.9569 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.8896, allocations: 42 kB / 0.9569 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.8896, allocations: 51.41 kB / 0.957 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.922e-05/0.8896, allocations: 95.08 kB / 0.9571 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.8896, allocations: 25.7 kB / 0.9571 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.143e-05/0.8896, allocations: 80.14 kB / 0.9572 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.8897, allocations: 4.844 kB / 0.9572 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.8897, allocations: 9.719 kB / 0.9572 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.8898, allocations: 311.8 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.8898, allocations: 0.8438 kB / 0.9575 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.8898, allocations: 5 kB / 0.9575 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.337e-05/0.8898, allocations: 19.97 kB / 0.9575 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8898, allocations: 0 / 0.9575 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.466e-05/0.8899, allocations: 30.73 kB / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.8899, allocations: 6 kB / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8899, allocations: 0 / 0.9575 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8899, allocations: 3.938 kB / 0.9575 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.087e-05/0.89, allocations: 2.469 kB / 0.9575 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.89, allocations: 3.938 kB / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.009e-05/0.89, allocations: 0 / 0.9576 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.89, allocations: 1 kB / 0.9576 GB, free: 5.172 MB / 0.7169 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 5.93e-05/0.8901, allocations: 114.9 kB / 0.9577 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.865e-06/0.8901, allocations: 5.297 kB / 0.9577 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.8901, allocations: 40.17 kB / 0.9577 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8902, allocations: 5.094 kB / 0.9577 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.8902, allocations: 0 / 0.9577 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.8902, allocations: 1.281 kB / 0.9577 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.359e-05/0.8902, allocations: 145.7 kB / 0.9579 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8902, allocations: 1.094 kB / 0.9579 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.123e-05/0.8903, allocations: 5.125 kB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.8903, allocations: 1.188 kB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.8903, allocations: 3.938 kB / 0.9579 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8903, allocations: 0 / 0.9579 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.8903, allocations: 1.438 kB / 0.9579 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.109e-05/0.8903, allocations: 62.78 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.8904, allocations: 77.11 kB / 0.958 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.8904, allocations: 5.25 kB / 0.958 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.744e-06/0.8904, allocations: 8.031 kB / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.8904, allocations: 1.375 kB / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.8904, allocations: 0 / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.48e-05/0.8904, allocations: 75.28 kB / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8904, allocations: 0 / 0.9581 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002282/0.8907, allocations: 15.44 kB / 0.9581 GB, free: 4.543 MB / 0.7169 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.0002071/0.8909, allocations: 118.2 kB / 0.9582 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.159e-05/0.8909, allocations: 2.688 kB / 0.9582 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.891, allocations: 1.406 kB / 0.9582 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.834e-06/0.891, allocations: 5.062 kB / 0.9582 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.8911, allocations: 5.5 kB / 0.9582 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001614/0.8913, allocations: 76.19 kB / 0.9583 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.8914, allocations: 0.6747 MB / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.112e-05/0.8914, allocations: 0 / 0.959 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.999e-06/0.8914, allocations: 8.625 kB / 0.959 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.8914, allocations: 0 / 0.959 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of Templates: time 0.002514/0.8939, allocations: 415.7 kB / 0.9594 GB, free: 3.422 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches