Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 112.4 kB / 17.13 MB, free: 6.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002146/0.002146, allocations: 211.2 kB / 20.1 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.001/3.001, allocations: 0.49 GB / 0.7923 GB, free: 1.363 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.91 kB / 1.15 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.084, allocations: 176.1 MB / 1.322 GB, free: 8.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003445/1.088, allocations: 1.449 MB / 1.323 GB, free: 6.883 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0007776/1.089, allocations: 251.3 kB / 1.324 GB, free: 6.691 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/1.089, allocations: 1.344 kB / 1.324 GB, free: 6.691 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/1.089, allocations: 3.938 kB / 1.324 GB, free: 6.688 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/1.089, allocations: 0 / 1.324 GB, free: 6.688 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/1.089, allocations: 58.44 kB / 1.324 GB, free: 6.652 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/1.089, allocations: 20.92 kB / 1.324 GB, free: 6.641 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/1.09, allocations: 5.406 kB / 1.324 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/1.09, allocations: 3.5 kB / 1.324 GB, free: 6.637 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/1.09, allocations: 19.69 kB / 1.324 GB, free: 6.621 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/1.09, allocations: 5.562 kB / 1.324 GB, free: 6.617 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/1.09, allocations: 63.41 kB / 1.324 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/1.09, allocations: 1.125 kB / 1.324 GB, free: 6.582 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/1.09, allocations: 10.22 kB / 1.324 GB, free: 6.574 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/1.09, allocations: 54.06 kB / 1.324 GB, free: 6.539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.09, allocations: 1.281 kB / 1.324 GB, free: 6.539 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.795e-06/1.09, allocations: 0 / 1.324 GB, free: 6.539 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.775e-06/1.09, allocations: 0 / 1.324 GB, free: 6.539 MB / 1.014 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.0006187/1.091, allocations: 357.2 kB / 1.324 GB, free: 6.156 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.091, allocations: 13.89 kB / 1.324 GB, free: 6.152 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/1.091, allocations: 1.938 kB / 1.324 GB, free: 6.152 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/1.091, allocations: 169.4 kB / 1.324 GB, free: 5.949 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/1.091, allocations: 1.625 kB / 1.324 GB, free: 5.949 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/1.091, allocations: 1.469 kB / 1.324 GB, free: 5.949 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/1.091, allocations: 49.39 kB / 1.324 GB, free: 5.906 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/1.091, allocations: 192 / 1.324 GB, free: 5.906 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/1.091, allocations: 5.219 kB / 1.324 GB, free: 5.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.091, allocations: 0 / 1.324 GB, free: 5.902 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/1.091, allocations: 38.86 kB / 1.324 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/1.092, allocations: 240.7 kB / 1.325 GB, free: 5.605 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/1.092, allocations: 42.53 kB / 1.325 GB, free: 5.566 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/1.092, allocations: 30.92 kB / 1.325 GB, free: 5.543 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007841/1.093, allocations: 451.5 kB / 1.325 GB, free: 5.051 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/1.093, allocations: 31.81 kB / 1.325 GB, free: 5.012 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.093, allocations: 0 / 1.325 GB, free: 5.012 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003897/1.093, allocations: 92.08 kB / 1.325 GB, free: 4.945 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/1.093, allocations: 56.38 kB / 1.325 GB, free: 4.879 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/1.093, allocations: 102.4 kB / 1.325 GB, free: 4.773 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/1.093, allocations: 25.7 kB / 1.325 GB, free: 4.742 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/1.094, allocations: 81.42 kB / 1.326 GB, free: 4.66 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/1.094, allocations: 9.328 kB / 1.326 GB, free: 4.652 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/1.094, allocations: 16.66 kB / 1.326 GB, free: 4.633 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.094, allocations: 314.8 kB / 1.326 GB, free: 4.316 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.776e-05/1.094, allocations: 17.73 kB / 1.326 GB, free: 4.309 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/1.094, allocations: 14.05 kB / 1.326 GB, free: 4.305 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/1.094, allocations: 43.56 kB / 1.326 GB, free: 4.277 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.094, allocations: 4.062 kB / 1.326 GB, free: 4.273 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/1.094, allocations: 72.11 kB / 1.326 GB, free: 4.219 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.094, allocations: 5.656 kB / 1.326 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.094, allocations: 0 / 1.326 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/1.094, allocations: 0 / 1.326 GB, free: 4.219 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.493e-05/1.094, allocations: 9.516 kB / 1.326 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/1.094, allocations: 1.531 kB / 1.326 GB, free: 4.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/1.094, allocations: 10.89 kB / 1.326 GB, free: 4.207 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/1.094, allocations: 5.719 kB / 1.326 GB, free: 4.203 MB / 1.014 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 9.703e-05/1.095, allocations: 111.2 kB / 1.326 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/1.095, allocations: 5.516 kB / 1.326 GB, free: 4.082 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/1.095, allocations: 70.34 kB / 1.326 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.095, allocations: 0 / 1.326 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.095, allocations: 3.938 kB / 1.326 GB, free: 4.023 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.095, allocations: 5.781 kB / 1.326 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/1.095, allocations: 161.4 kB / 1.326 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.095, allocations: 0 / 1.326 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/1.095, allocations: 10.64 kB / 1.326 GB, free: 3.812 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.095, allocations: 3.984 kB / 1.326 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/1.095, allocations: 1.062 kB / 1.326 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.095, allocations: 0 / 1.326 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.095, allocations: 0 / 1.326 GB, free: 3.809 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/1.095, allocations: 168 kB / 1.327 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/1.095, allocations: 77.11 kB / 1.327 GB, free: 3.559 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/1.095, allocations: 1.312 kB / 1.327 GB, free: 3.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/1.095, allocations: 7.672 kB / 1.327 GB, free: 3.555 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/1.096, allocations: 5.344 kB / 1.327 GB, free: 3.551 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/1.096, allocations: 0 / 1.327 GB, free: 3.551 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.42e-05/1.096, allocations: 83.22 kB / 1.327 GB, free: 3.473 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.096, allocations: 4.031 kB / 1.327 GB, free: 3.469 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002547/1.096, allocations: 17.19 kB / 1.327 GB, free: 3.465 MB / 1.014 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.0002186/1.096, allocations: 124.1 kB / 1.327 GB, free: 3.359 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002321/1.096, allocations: 41.61 kB / 1.327 GB, free: 3.34 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.096, allocations: 0 / 1.327 GB, free: 3.34 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/1.096, allocations: 18.42 kB / 1.327 GB, free: 3.332 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/1.097, allocations: 8.5 kB / 1.327 GB, free: 3.328 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/1.097, allocations: 129.1 kB / 1.327 GB, free: 3.188 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/1.097, allocations: 0.6777 MB / 1.328 GB, free: 2.488 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/1.097, allocations: 12.72 kB / 1.328 GB, free: 2.477 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/1.097, allocations: 4.125 kB / 1.328 GB, free: 2.473 MB / 1.014 GB Notification: Performance of Templates: time 0.002676/1.1, allocations: 0.7693 MB / 1.328 GB, free: 2.098 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 11.750607141002547]