Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001835/0.001835, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.001953/0.001953, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.551/1.551, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.022/3.022, allocations: 377.8 MB / 0.6232 GB, free: 8.492 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.8109 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.004e-05, allocations: 3.281 kB / 0.8109 GB, free: 1.992 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002203/0.002233, allocations: 0.5997 MB / 0.8114 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0006038/0.002837, allocations: 182.6 kB / 0.8116 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.098e-05/0.002848, allocations: 1.031 kB / 0.8116 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.00286, allocations: 0 / 0.8116 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.6e-06/0.002865, allocations: 0 / 0.8116 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.003313, allocations: 56.53 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 3.803e-05/0.003351, allocations: 4 kB / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.165e-05/0.003383, allocations: 1.688 kB / 0.8117 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.003417, allocations: 7.984 kB / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.994e-05/0.003447, allocations: 0 / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.003456, allocations: 0 / 0.8117 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.003669, allocations: 55.83 kB / 0.8117 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.003683, allocations: 5.516 kB / 0.8117 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.003701, allocations: 4 kB / 0.8117 GB, free: 1.109 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.003871, allocations: 43.88 kB / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.003874, allocations: 0 / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003875, allocations: 1.75 kB / 0.8118 GB, free: 1.066 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.003878, allocations: 0 / 0.8118 GB, free: 1.066 MB / 0.7605 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.0004403/0.004318, allocations: 344.4 kB / 0.8121 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.004359, allocations: 8.031 kB / 0.8121 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.004407, allocations: 1.5 kB / 0.8121 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.004528, allocations: 108.6 kB / 0.8122 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.004544, allocations: 5.344 kB / 0.8122 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.004553, allocations: 4.312 kB / 0.8122 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.472e-05/0.004648, allocations: 30.78 kB / 0.8123 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004656, allocations: 1.594 kB / 0.8123 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.004663, allocations: 384 / 0.8123 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.00467, allocations: 4.375 kB / 0.8123 GB, free: 0.5039 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.103e-05/0.004691, allocations: 3.938 kB / 0.8123 GB, free: 0.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.004863, allocations: 107.2 kB / 0.8124 GB, free: 372 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.004934, allocations: 31.09 kB / 0.8124 GB, free: 328 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.004962, allocations: 11.62 kB / 0.8124 GB, free: 312 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006878/0.005649, allocations: 77.22 kB / 0.8125 GB, free: 236 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.005695, allocations: 37.39 kB / 0.8125 GB, free: 188 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.005696, allocations: 0.5312 kB / 0.8125 GB, free: 188 kB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0001576/0.005854, allocations: 31.36 kB / 0.8126 GB, free: 152 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.00591, allocations: 51.41 kB / 0.8126 GB, free: 88 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.006033, allocations: 142.2 kB / 0.8127 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.006057, allocations: 29.7 kB / 0.8128 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.006146, allocations: 127.4 kB / 0.8129 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.006184, allocations: 8.516 kB / 0.8129 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.006245, allocations: 27.3 kB / 0.8129 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003231/0.006568, allocations: 0.4891 MB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.113e-05/0.006579, allocations: 3.938 kB / 0.8134 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.006585, allocations: 1.156 kB / 0.8134 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.00662, allocations: 11.69 kB / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.006622, allocations: 1.375 kB / 0.8134 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.578e-05/0.006708, allocations: 29.7 kB / 0.8135 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.006727, allocations: 8 kB / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006732, allocations: 0.5 kB / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.00675, allocations: 5.109 kB / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-05/0.00679, allocations: 0 / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006794, allocations: 0 / 0.8135 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.00681, allocations: 8.781 kB / 0.8135 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.006818, allocations: 8 kB / 0.8135 GB, free: 15.14 MB / 0.7761 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 0.0001337/0.006951, allocations: 153.4 kB / 0.8136 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.006962, allocations: 0 / 0.8136 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.007055, allocations: 38.91 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.007057, allocations: 0 / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.007061, allocations: 4 kB / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007063, allocations: 0 / 0.8137 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.007205, allocations: 112.6 kB / 0.8138 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.007209, allocations: 4 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.00723, allocations: 6.781 kB / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007232, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.007237, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.007238, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007239, allocations: 0 / 0.8138 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.007365, allocations: 80.27 kB / 0.8139 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.00737, allocations: 0 / 0.8139 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.007381, allocations: 1.469 kB / 0.8139 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.007392, allocations: 0 / 0.8139 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.007413, allocations: 4 kB / 0.8139 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.007416, allocations: 0 / 0.8139 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.607e-05/0.007502, allocations: 119.7 kB / 0.814 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.007502, allocations: 0 / 0.814 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003574/0.007859, allocations: 17.33 kB / 0.814 GB, free: 14.55 MB / 0.7761 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.0002689/0.008128, allocations: 124.8 kB / 0.8141 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.496e-05/0.008213, allocations: 16.2 kB / 0.8141 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.008215, allocations: 7.625 kB / 0.8141 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.008238, allocations: 11.69 kB / 0.8142 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.008435, allocations: 3.984 kB / 0.8142 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.008685, allocations: 84.08 kB / 0.8142 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.09e-05/0.008746, allocations: 51.36 kB / 0.8143 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.00876, allocations: 4 kB / 0.8143 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.008781, allocations: 8.5 kB / 0.8143 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.008781, allocations: 0 / 0.8143 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.003743/0.01252, allocations: 438.1 kB / 0.8147 GB, free: 13.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.926645053899847]