Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001867/0.001867, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001998/0.001998, allocations: 165.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.765/2.765, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0.7656 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.824e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.004348/0.004377, allocations: 1.462 MB / 0.7878 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.005192, allocations: 225.1 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.005222, allocations: 3.938 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.005255, allocations: 0.5625 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.005311, allocations: 9.125 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.005789, allocations: 59.77 kB / 0.7881 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/0.00587, allocations: 23.86 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.608e-05/0.005956, allocations: 4.562 kB / 0.7881 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.006031, allocations: 12.73 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.006071, allocations: 7.984 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.006089, allocations: 4.906 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.006296, allocations: 59.88 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.731e-05/0.006313, allocations: 3.938 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.054e-05/0.006343, allocations: 4.656 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.006565, allocations: 65.44 kB / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.006569, allocations: 0 / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.00657, allocations: 0 / 0.7883 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.006575, allocations: 0 / 0.7883 GB, free: 10.9 MB / 0.7448 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.000628/0.007203, allocations: 273.7 kB / 0.7885 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.007252, allocations: 12.03 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.007303, allocations: 4.891 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.007464, allocations: 105.8 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.007479, allocations: 384 / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.00749, allocations: 4.312 kB / 0.7887 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.007737, allocations: 50.23 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007748, allocations: 192 / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.007758, allocations: 4.906 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.007763, allocations: 384 / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/0.008038, allocations: 38.16 kB / 0.7887 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.008473, allocations: 196.6 kB / 0.7889 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.008672, allocations: 38.5 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.008826, allocations: 25.77 kB / 0.789 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007333/0.009559, allocations: 70.42 kB / 0.7891 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.009608, allocations: 30.56 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.00961, allocations: 1.188 kB / 0.7891 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0005589/0.01017, allocations: 91.03 kB / 0.7892 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.01023, allocations: 59.34 kB / 0.7892 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.01037, allocations: 101.8 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.0104, allocations: 26.2 kB / 0.7894 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.01048, allocations: 80.7 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.01051, allocations: 12.56 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.01056, allocations: 11.09 kB / 0.7895 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.01079, allocations: 310.8 kB / 0.7898 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.01093, allocations: 23.97 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.01105, allocations: 18.58 kB / 0.7898 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.01131, allocations: 36.83 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01131, allocations: 0 / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003433/0.01166, allocations: 74.94 kB / 0.7899 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01167, allocations: 5.219 kB / 0.7899 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.01169, allocations: 3.938 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.01171, allocations: 0 / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.01183, allocations: 12.61 kB / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01183, allocations: 0 / 0.7899 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.414e-05/0.01191, allocations: 5.125 kB / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.01191, allocations: 0 / 0.7899 GB, free: 9.051 MB / 0.7448 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 0.0001279/0.01204, allocations: 114.4 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.01208, allocations: 1.125 kB / 0.79 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003536/0.01244, allocations: 73.91 kB / 0.7901 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.01244, allocations: 4 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.01245, allocations: 0 / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01245, allocations: 0.8438 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.01269, allocations: 105.3 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01269, allocations: 6.156 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.01278, allocations: 11.92 kB / 0.7902 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.01278, allocations: 4.188 kB / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.01279, allocations: 0 / 0.7902 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.0128, allocations: 3.938 kB / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.0128, allocations: 0 / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004011/0.0132, allocations: 166.2 kB / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.01321, allocations: 0 / 0.7904 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.01323, allocations: 8 kB / 0.7904 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.01337, allocations: 7.938 kB / 0.7904 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.01341, allocations: 3.984 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.01342, allocations: 1.5 kB / 0.7904 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.412e-05/0.01349, allocations: 79.28 kB / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01349, allocations: 0 / 0.7905 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004559/0.01395, allocations: 15.94 kB / 0.7905 GB, free: 8.402 MB / 0.7448 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.0003047/0.01425, allocations: 130 kB / 0.7906 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003135/0.01457, allocations: 37.05 kB / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01457, allocations: 0 / 0.7907 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.01471, allocations: 16.64 kB / 0.7907 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.01512, allocations: 10.78 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.01551, allocations: 111.1 kB / 0.7908 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.01562, allocations: 67.31 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.01565, allocations: 4 kB / 0.7909 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.01568, allocations: 8.5 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.01568, allocations: 0 / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.003714/0.0194, allocations: 0.6923 MB / 0.7915 GB, free: 7.301 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.627614657045342]