Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 489.3 MB / 0.7687 GB, free: 3.824 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.84 kB / 1.103 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9902/0.9922, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001858/0.9941, allocations: 0.5909 MB / 1.263 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006154/0.9948, allocations: 178.9 kB / 1.263 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.722e-05/0.9948, allocations: 0.625 kB / 1.263 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.9948, allocations: 0 / 1.263 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.976e-06/0.9948, allocations: 4.906 kB / 1.263 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.9953, allocations: 51.88 kB / 1.263 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.304e-05/0.9954, allocations: 9.578 kB / 1.263 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.601e-05/0.9955, allocations: 2.484 kB / 1.263 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.9955, allocations: 0 / 1.263 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.57e-05/0.9955, allocations: 7.422 kB / 1.263 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.437e-06/0.9955, allocations: 0 / 1.263 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.9958, allocations: 55.75 kB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.659e-06/0.9958, allocations: 0.8438 kB / 1.263 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.9958, allocations: 5.516 kB / 1.263 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.996, allocations: 34.22 kB / 1.264 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.996, allocations: 4.781 kB / 1.264 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.996, allocations: 0 / 1.264 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.996, allocations: 0.8438 kB / 1.264 GB, free: 7.473 MB / 0.9981 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.0003521/0.9964, allocations: 314 kB / 1.264 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.9964, allocations: 9.688 kB / 1.264 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.9965, allocations: 2.516 kB / 1.264 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.9966, allocations: 169.1 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.9967, allocations: 1.25 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.9967, allocations: 384 / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.9968, allocations: 34.12 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9968, allocations: 192 / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.9969, allocations: 3.938 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.9969, allocations: 0.8125 kB / 1.264 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.9969, allocations: 6.047 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.9971, allocations: 152 kB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.9971, allocations: 20.23 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.9972, allocations: 11.33 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008123/0.998, allocations: 450.5 kB / 1.265 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.998, allocations: 30.56 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.998, allocations: 1.094 kB / 1.265 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001753/0.9982, allocations: 47.98 kB / 1.265 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.9982, allocations: 51.41 kB / 1.265 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.12e-05/0.9983, allocations: 90.92 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.9983, allocations: 26.22 kB / 1.265 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.173e-05/0.9983, allocations: 80.14 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.9984, allocations: 0.9375 kB / 1.265 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.9984, allocations: 12.08 kB / 1.265 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.779e-05/0.9985, allocations: 316.2 kB / 1.265 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.383e-05/0.9985, allocations: 5.625 kB / 1.265 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.993e-06/0.9985, allocations: 0.8438 kB / 1.265 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.9986, allocations: 8.594 kB / 1.265 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9986, allocations: 3.938 kB / 1.265 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.611e-05/0.9986, allocations: 32.27 kB / 1.265 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.9987, allocations: 5.859 kB / 1.265 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9987, allocations: 0 / 1.265 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.9987, allocations: 4.719 kB / 1.265 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.5e-05/0.9988, allocations: 6.25 kB / 1.265 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.9988, allocations: 4.656 kB / 1.265 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.9988, allocations: 0.9062 kB / 1.265 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.9988, allocations: 0.9062 kB / 1.265 GB, free: 5.426 MB / 0.9981 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.197e-05/0.9989, allocations: 114.7 kB / 1.265 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.969e-06/0.9989, allocations: 1.594 kB / 1.265 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.999, allocations: 46.67 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.999, allocations: 0.8125 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.999, allocations: 0.6562 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.999, allocations: 4.906 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.824e-05/0.9992, allocations: 148.6 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9992, allocations: 4 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-05/0.9992, allocations: 1.688 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.9992, allocations: 1.672 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.9992, allocations: 3.938 kB / 1.266 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9992, allocations: 0.8125 kB / 1.266 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9992, allocations: 0 / 1.266 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.78e-05/0.9993, allocations: 61.78 kB / 1.266 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.9993, allocations: 77.81 kB / 1.266 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.9994, allocations: 5.422 kB / 1.266 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.9994, allocations: 5.453 kB / 1.266 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.9994, allocations: 3.984 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.9994, allocations: 1.516 kB / 1.266 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.9994, allocations: 75.28 kB / 1.266 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9994, allocations: 0.8125 kB / 1.266 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002481/0.9997, allocations: 11.53 kB / 1.266 GB, free: 4.812 MB / 0.9981 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.0002612/0.9999, allocations: 128.6 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.904e-05/1, allocations: 4.172 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1, allocations: 0 / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.713e-06/1, allocations: 2.125 kB / 1.266 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/1, allocations: 6.016 kB / 1.266 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001966/1, allocations: 105.8 kB / 1.266 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/1.001, allocations: 0.6755 MB / 1.267 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/1.001, allocations: 8.344 kB / 1.267 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.001, allocations: 0 / 1.267 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of Templates: time 0.002486/1.003, allocations: 0.5565 MB / 1.267 GB, free: 3.836 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.BesselJ0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.855016146088019]