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.001334/0.001334, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001401/0.001401, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.2 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.356/2.356, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 63.91 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001631/1.04, allocations: 0.578 MB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004706/1.041, allocations: 194.6 kB / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/1.041, allocations: 0 / 1.089 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/1.041, allocations: 3.938 kB / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.526e-06/1.041, allocations: 0 / 1.089 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/1.041, allocations: 54.23 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.912e-05/1.041, allocations: 1.188 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/1.041, allocations: 1.422 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.57e-05/1.041, allocations: 11.98 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/1.041, allocations: 1.875 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.933e-06/1.041, allocations: 3.938 kB / 1.089 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/1.042, allocations: 53.36 kB / 1.09 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.356e-06/1.042, allocations: 1.344 kB / 1.09 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/1.042, allocations: 0 / 1.09 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/1.042, allocations: 40.45 kB / 1.09 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/1.042, allocations: 0 / 1.09 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/1.042, allocations: 5.219 kB / 1.09 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.681e-06/1.042, allocations: 0 / 1.09 GB, free: 4.957 MB / 0.8575 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.000298/1.042, allocations: 323.9 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.042, allocations: 13.03 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/1.042, allocations: 1.844 kB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/1.042, allocations: 165.8 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/1.042, allocations: 5.375 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/1.042, allocations: 1.469 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/1.042, allocations: 32.14 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/1.043, allocations: 192 / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.043, allocations: 5.656 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.043, allocations: 4 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.332e-05/1.043, allocations: 1.125 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/1.043, allocations: 144.3 kB / 1.09 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.519e-05/1.043, allocations: 25.08 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/1.043, allocations: 7.531 kB / 1.09 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/1.044, allocations: 458.2 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/1.044, allocations: 31.88 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.011e-06/1.044, allocations: 0 / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001565/1.044, allocations: 38.77 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/1.044, allocations: 56.78 kB / 1.091 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.292e-05/1.044, allocations: 89.86 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.044, allocations: 30.89 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/1.044, allocations: 80.7 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/1.044, allocations: 1.062 kB / 1.091 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/1.044, allocations: 11.38 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.632e-05/1.044, allocations: 316.7 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/1.044, allocations: 1.062 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.003e-06/1.044, allocations: 1.75 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/1.044, allocations: 11.69 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.044, allocations: 1.5 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.888e-05/1.044, allocations: 30.67 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.044, allocations: 10.09 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.044, allocations: 0 / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.044, allocations: 5.156 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.16e-05/1.044, allocations: 1.938 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.044, allocations: 0.6094 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.036e-05/1.044, allocations: 1.375 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/1.044, allocations: 0 / 1.091 GB, free: 2.906 MB / 0.8575 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.404e-05/1.044, allocations: 111.8 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/1.044, allocations: 6.016 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8e-05/1.044, allocations: 42.3 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/1.044, allocations: 8.594 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.045, allocations: 0.6562 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.045, allocations: 1.094 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.103e-05/1.045, allocations: 144.6 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/1.045, allocations: 0 / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/1.045, allocations: 2.453 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/1.045, allocations: 7.969 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/1.045, allocations: 4.688 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/1.045, allocations: 1.703 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.045, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.096e-05/1.045, allocations: 61.2 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/1.045, allocations: 77.67 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/1.045, allocations: 5.781 kB / 1.092 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-06/1.045, allocations: 4.031 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/1.045, allocations: 1.391 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/1.045, allocations: 0.7188 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.85e-05/1.045, allocations: 76.12 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/1.045, allocations: 0 / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000259/1.045, allocations: 16.05 kB / 1.092 GB, free: 2.285 MB / 0.8575 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.0002579/1.045, allocations: 124.7 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.197e-05/1.045, allocations: 7.984 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.045, allocations: 0 / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.133e-06/1.045, allocations: 2.812 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/1.046, allocations: 2.094 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001975/1.046, allocations: 101.8 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/1.046, allocations: 0.6718 MB / 1.093 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/1.046, allocations: 16.44 kB / 1.093 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.046, allocations: 0 / 1.093 GB, free: 17.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.002419/1.048, allocations: 0.5575 MB / 1.093 GB, free: 17.31 MB / 0.8731 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/jenkins1/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