Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.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.001293/0.001293, allocations: 77.62 kB / 19.76 MB, free: 2.031 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.001405/0.001405, allocations: 160.2 kB / 23.01 MB, free: 4.945 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.022/3.022, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1") [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.002272/0.002272, allocations: 60.19 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8294/0.8317, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002204/0.8339, allocations: 1.45 MB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0004773/0.8343, allocations: 237.1 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.8344, allocations: 0 / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.8344, allocations: 7.172 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.403e-05/0.8344, allocations: 3.938 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.8348, allocations: 57.88 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.378e-05/0.8348, allocations: 23.48 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.8349, allocations: 9.922 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.8349, allocations: 13.41 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.229e-05/0.835, allocations: 14.03 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.835, allocations: 0 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.8351, allocations: 58.66 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.8351, allocations: 4 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.8351, allocations: 13.84 kB / 1.156 GB, free: 32.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.8352, allocations: 51.5 kB / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8352, allocations: 0 / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8352, allocations: 0 / 1.156 GB, free: 32.07 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.8353, allocations: 0 / 1.156 GB, free: 32.07 MB / 1.076 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.0003574/0.8356, allocations: 276.2 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.8356, allocations: 10.31 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.8357, allocations: 6.641 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.364e-05/0.8357, allocations: 105.3 kB / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.8357, allocations: 384 / 1.156 GB, free: 31.67 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/0.8358, allocations: 4.375 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.8359, allocations: 46.14 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.8359, allocations: 192 / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.8359, allocations: 7.938 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.8359, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.8361, allocations: 44.39 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000208/0.8363, allocations: 192.2 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.8364, allocations: 31.73 kB / 1.156 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.8365, allocations: 26.56 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000486/0.837, allocations: 84.06 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.837, allocations: 34.56 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.837, allocations: 0 / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003197/0.8373, allocations: 83.84 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.026e-05/0.8374, allocations: 51.53 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.397e-05/0.8374, allocations: 103 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.8374, allocations: 25.7 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.8374, allocations: 88.12 kB / 1.157 GB, free: 30.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.8374, allocations: 10.61 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.8375, allocations: 12.31 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.028e-05/0.8375, allocations: 318.7 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.823e-05/0.8376, allocations: 13.47 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.8377, allocations: 17.95 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.8378, allocations: 47.83 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8378, allocations: 0 / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001686/0.838, allocations: 64.94 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.838, allocations: 5.156 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.838, allocations: 2.594 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.838, allocations: 0 / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.522e-05/0.8381, allocations: 16.53 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.8381, allocations: 0 / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.8381, allocations: 8.375 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.8381, allocations: 3.938 kB / 1.157 GB, free: 30.57 MB / 1.076 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 3.947e-05/0.8382, allocations: 113 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/0.8382, allocations: 7.891 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.8384, allocations: 73.09 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8384, allocations: 0 / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.8384, allocations: 4.031 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8384, allocations: 0 / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.738e-05/0.8385, allocations: 106.5 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8385, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.8385, allocations: 8.953 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8385, allocations: 4.125 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.8385, allocations: 2.844 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8385, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8385, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.8387, allocations: 169.3 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-06/0.8387, allocations: 14.28 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.8387, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/0.8388, allocations: 6.312 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.8389, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.8389, allocations: 6.844 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.074e-05/0.8389, allocations: 82.41 kB / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.8389, allocations: 0 / 1.158 GB, free: 30.03 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002355/0.8391, allocations: 17.8 kB / 1.158 GB, free: 30.03 MB / 1.076 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.0001449/0.8393, allocations: 117.7 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.8395, allocations: 34.55 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.8395, allocations: 0 / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.4e-05/0.8396, allocations: 24.44 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.8398, allocations: 2.969 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.84, allocations: 111.5 kB / 1.158 GB, free: 29.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.621e-05/0.84, allocations: 59.3 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.823e-05/0.84, allocations: 0 / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.8401, allocations: 10.66 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.8401, allocations: 0 / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of Templates: time 0.002905/0.843, allocations: 0.6921 MB / 1.159 GB, free: 29.63 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 8.697372306021862]