Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J1.y",fileNamePrefix="Buildings_9_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.001135/0.001135, allocations: 102.2 kB / 16.27 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.001177/0.001177, allocations: 191 kB / 17.2 MB, free: 5.609 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.418/1.418, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.298/2.298, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001468, allocations: 69.97 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2903, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.003074/0.2934, allocations: 1.421 MB / 0.9517 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006089/0.2941, allocations: 254.2 kB / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.2941, allocations: 0 / 0.9519 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.2942, allocations: 3.938 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.2943, allocations: 3.938 kB / 0.9519 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.2947, allocations: 63.81 kB / 0.952 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.921e-05/0.2948, allocations: 19.98 kB / 0.952 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.517e-05/0.2949, allocations: 7.938 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.2949, allocations: 11.98 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.481e-05/0.295, allocations: 15.92 kB / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.295, allocations: 0 / 0.952 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.2952, allocations: 59.88 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.307e-05/0.2952, allocations: 4 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.2953, allocations: 15.92 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.2954, allocations: 51.92 kB / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2954, allocations: 0 / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2954, allocations: 0 / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2955, allocations: 0 / 0.9521 GB, free: 6.949 MB / 0.7325 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.0005059/0.296, allocations: 347.7 kB / 0.9525 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.296, allocations: 8.031 kB / 0.9525 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.2961, allocations: 4.938 kB / 0.9525 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.2962, allocations: 172.2 kB / 0.9527 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.2962, allocations: 8.312 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2962, allocations: 8.375 kB / 0.9527 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2964, allocations: 46.25 kB / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.2965, allocations: 192 / 0.9527 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.2965, allocations: 7.922 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2965, allocations: 0 / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.2967, allocations: 27.97 kB / 0.9528 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.2971, allocations: 260.9 kB / 0.953 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.2972, allocations: 38.5 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.2973, allocations: 16.91 kB / 0.9531 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008019/0.2981, allocations: 465.4 kB / 0.9535 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2981, allocations: 34.56 kB / 0.9535 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.2981, allocations: 0 / 0.9535 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.2985, allocations: 81.58 kB / 0.9536 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2985, allocations: 59.53 kB / 0.9537 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.306e-05/0.2986, allocations: 101.8 kB / 0.9538 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2986, allocations: 29.64 kB / 0.9538 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.2987, allocations: 80.14 kB / 0.9539 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.2987, allocations: 3.906 kB / 0.9539 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.2988, allocations: 17.72 kB / 0.9539 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2989, allocations: 310.8 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.299, allocations: 23.97 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.299, allocations: 15.98 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.2992, allocations: 36.83 kB / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2992, allocations: 0 / 0.9543 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002041/0.2994, allocations: 69.62 kB / 0.9543 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2994, allocations: 12 kB / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2994, allocations: 0 / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2995, allocations: 0 / 0.9543 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.2996, allocations: 7.984 kB / 0.9543 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2996, allocations: 4 kB / 0.9543 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.2996, allocations: 7.891 kB / 0.9544 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.2996, allocations: 4 kB / 0.9544 GB, free: 4.367 MB / 0.7325 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 6.921e-05/0.2997, allocations: 117.8 kB / 0.9545 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.2997, allocations: 4 kB / 0.9545 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.3, allocations: 72.72 kB / 0.9545 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3, allocations: 3.938 kB / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3, allocations: 0 / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3, allocations: 0 / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.3002, allocations: 165.6 kB / 0.9547 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3002, allocations: 0 / 0.9547 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.278e-05/0.3002, allocations: 8 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3003, allocations: 4.031 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3003, allocations: 0 / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3003, allocations: 3.984 kB / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3003, allocations: 0 / 0.9547 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.3005, allocations: 159.5 kB / 0.9549 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.129e-05/0.3006, allocations: 81.05 kB / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3006, allocations: 8.031 kB / 0.955 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.3007, allocations: 12 kB / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.3007, allocations: 3.984 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.3007, allocations: 0 / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.3008, allocations: 83.22 kB / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3008, allocations: 0 / 0.9551 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002414/0.301, allocations: 12 kB / 0.9551 GB, free: 3.543 MB / 0.7325 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.0002143/0.3012, allocations: 127.2 kB / 0.9552 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.3015, allocations: 39.95 kB / 0.9552 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3015, allocations: 0 / 0.9552 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.3016, allocations: 19.92 kB / 0.9552 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3018, allocations: 12.06 kB / 0.9553 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.3021, allocations: 139.2 kB / 0.9554 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.3024, allocations: 0.6805 MB / 0.9561 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.3024, allocations: 7.438 kB / 0.9561 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3024, allocations: 0 / 0.9561 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of Templates: time 0.002303/0.3048, allocations: 0.7634 MB / 0.9568 GB, free: 1.695 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.BesselJ1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches