Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 113 kB / 17.6 MB, free: 4.684 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.001342/0.001342, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.418/1.418, allocations: 225.6 MB / 249.4 MB, free: 3.125 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.552/2.552, allocations: 443.4 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.89 kB / 1.059 GB, free: 396 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001794/0.3326, allocations: 0.5807 MB / 1.217 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005395/0.3331, allocations: 203.3 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.156e-05/0.3331, allocations: 3.938 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.3331, allocations: 4 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.57e-06/0.3331, allocations: 0 / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.3336, allocations: 47.84 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.729e-05/0.3336, allocations: 3.984 kB / 1.217 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.3336, allocations: 7.984 kB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.263e-05/0.3337, allocations: 0 / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.237e-05/0.3337, allocations: 0 / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.3337, allocations: 0 / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.3339, allocations: 59.89 kB / 1.217 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.3339, allocations: 7.984 kB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.3339, allocations: 0 / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3341, allocations: 31.89 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.3341, allocations: 3.984 kB / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3341, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3341, allocations: 0 / 1.217 GB, free: 14.41 MB / 0.9669 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.0004084/0.3345, allocations: 321.4 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3345, allocations: 8.031 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3346, allocations: 0.9375 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.3347, allocations: 172.3 kB / 1.218 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3347, allocations: 8.312 kB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.3347, allocations: 384 / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.3348, allocations: 30.27 kB / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3348, allocations: 192 / 1.218 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3349, allocations: 3.938 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3349, allocations: 0 / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.031e-05/0.3349, allocations: 4 kB / 1.218 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.3351, allocations: 145.7 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.3351, allocations: 26.59 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.786e-05/0.3351, allocations: 8.859 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000836/0.336, allocations: 457.5 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.336, allocations: 34.56 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.336, allocations: 0 / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001598/0.3362, allocations: 41.59 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3362, allocations: 51.41 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.683e-05/0.3362, allocations: 89.86 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3363, allocations: 25.7 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.3363, allocations: 80.14 kB / 1.219 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.3363, allocations: 7.938 kB / 1.219 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.3364, allocations: 17.84 kB / 1.219 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3365, allocations: 318.8 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-06/0.3365, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-06/0.3365, allocations: 0 / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.3366, allocations: 8.859 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3366, allocations: 0 / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.204e-05/0.3366, allocations: 33.7 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3366, allocations: 8.094 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3366, allocations: 4 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.3367, allocations: 3.938 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.008e-05/0.3367, allocations: 0 / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3367, allocations: 0 / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.3367, allocations: 7.922 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3367, allocations: 4 kB / 1.219 GB, free: 12.21 MB / 0.9669 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.156e-05/0.3368, allocations: 105.8 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.3368, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.3369, allocations: 44.7 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3369, allocations: 3.984 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3369, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3369, allocations: 3.984 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.337, allocations: 149.7 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.337, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-06/0.337, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.337, allocations: 0 / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.337, allocations: 3.938 kB / 1.219 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.337, allocations: 4 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.337, allocations: 0 / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.769e-05/0.3371, allocations: 69.09 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.3371, allocations: 77.11 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.3371, allocations: 3.938 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-06/0.3372, allocations: 4 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.01e-05/0.3372, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.3372, allocations: 0 / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.3372, allocations: 75.28 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3372, allocations: 4.031 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000208/0.3374, allocations: 19.92 kB / 1.219 GB, free: 11.55 MB / 0.9669 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.0002284/0.3376, allocations: 119.2 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.082e-05/0.3377, allocations: 7.922 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3377, allocations: 4.062 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.83e-06/0.3377, allocations: 4 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3379, allocations: 3.938 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.3381, allocations: 100.9 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.3384, allocations: 0.6729 MB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.122e-05/0.3384, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.3384, allocations: 7.438 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of SimCode: time 3.7e-07/0.3384, allocations: 0 / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.002874/0.3413, allocations: 423 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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: 7.92624806240201]