Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001938/0.001938, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00245/0.00245, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.533/1.533, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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 2.851/2.851, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9815 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.86e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.001677/0.001705, allocations: 0.584 MB / 0.9821 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005209/0.002226, allocations: 171.4 kB / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.633e-05/0.002243, allocations: 0 / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.002258, allocations: 0 / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-06/0.002265, allocations: 0 / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.002688, allocations: 55.75 kB / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.546e-05/0.002734, allocations: 7.938 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.002775, allocations: 0 / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.002801, allocations: 0 / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.714e-05/0.002829, allocations: 4 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.002838, allocations: 0 / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.003047, allocations: 63.86 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.003061, allocations: 3.938 kB / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.946e-05/0.00308, allocations: 0 / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.00323, allocations: 39.88 kB / 0.9824 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.003233, allocations: 0 / 0.9824 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.233e-06/0.003234, allocations: 4 kB / 0.9824 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.003239, allocations: 0 / 0.9824 GB, free: 11.01 MB / 0.9356 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.0003226/0.003562, allocations: 242.4 kB / 0.9826 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.003605, allocations: 16.03 kB / 0.9826 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.003639, allocations: 4.891 kB / 0.9826 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.383e-05/0.003733, allocations: 101.8 kB / 0.9827 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.003745, allocations: 384 / 0.9827 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.003753, allocations: 384 / 0.9827 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.003849, allocations: 34.25 kB / 0.9828 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.003857, allocations: 192 / 0.9828 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.003864, allocations: 384 / 0.9828 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.003868, allocations: 384 / 0.9828 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.365e-05/0.003892, allocations: 11.88 kB / 0.9828 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.004027, allocations: 97.33 kB / 0.9829 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.058e-05/0.004078, allocations: 18.58 kB / 0.9829 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/0.004099, allocations: 8.953 kB / 0.9829 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/0.004676, allocations: 75.91 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.004705, allocations: 30.56 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.004706, allocations: 4 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.004844, allocations: 41.58 kB / 0.983 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.004891, allocations: 51.41 kB / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.205e-05/0.004963, allocations: 93.86 kB / 0.9832 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.004979, allocations: 25.7 kB / 0.9832 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.005018, allocations: 80.14 kB / 0.9833 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.00505, allocations: 0 / 0.9833 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.005081, allocations: 13.72 kB / 0.9833 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.005253, allocations: 322.8 kB / 0.9836 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.005263, allocations: 0 / 0.9836 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.785e-06/0.005271, allocations: 4 kB / 0.9836 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.005301, allocations: 13.05 kB / 0.9836 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.005305, allocations: 4 kB / 0.9836 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.663e-05/0.005361, allocations: 37.64 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.005375, allocations: 7.938 kB / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00538, allocations: 0 / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.005392, allocations: 0 / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.602e-05/0.005438, allocations: 4 kB / 0.9837 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.005447, allocations: 3.984 kB / 0.9837 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.372e-05/0.00546, allocations: 3.938 kB / 0.9837 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.005465, allocations: 0 / 0.9837 GB, free: 9.512 MB / 0.9356 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 9.03e-05/0.005555, allocations: 109.9 kB / 0.9838 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-06/0.005561, allocations: 4 kB / 0.9838 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.953e-05/0.005641, allocations: 40.64 kB / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005642, allocations: 0 / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.005646, allocations: 0 / 0.9838 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.00565, allocations: 3.984 kB / 0.9838 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.536e-05/0.005726, allocations: 97.27 kB / 0.9839 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.00573, allocations: 4 kB / 0.9839 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.005741, allocations: 0 / 0.9839 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.005742, allocations: 0 / 0.9839 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.005748, allocations: 4.031 kB / 0.9839 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.005749, allocations: 0 / 0.9839 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.005749, allocations: 0 / 0.9839 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.204e-05/0.005831, allocations: 61.06 kB / 0.984 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.005838, allocations: 4 kB / 0.984 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.005849, allocations: 4 kB / 0.984 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-06/0.005856, allocations: 3.938 kB / 0.984 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.005868, allocations: 0 / 0.984 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.005873, allocations: 3.984 kB / 0.984 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.545e-05/0.005909, allocations: 75.28 kB / 0.9841 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.005909, allocations: 7.969 kB / 0.9841 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002064/0.006115, allocations: 15.94 kB / 0.9841 GB, free: 9.02 MB / 0.9356 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.0002144/0.00633, allocations: 119.1 kB / 0.9842 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.212e-05/0.006392, allocations: 4 kB / 0.9842 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.006393, allocations: 0 / 0.9842 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.575e-06/0.006401, allocations: 8.062 kB / 0.9842 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001243/0.006525, allocations: 0 / 0.9842 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001961/0.006721, allocations: 77.06 kB / 0.9843 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.357e-05/0.006775, allocations: 59.22 kB / 0.9844 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.357e-06/0.006784, allocations: 0 / 0.9844 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.006799, allocations: 8.5 kB / 0.9844 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of SimCode: time 4.01e-07/0.0068, allocations: 0 / 0.9844 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.002976/0.009776, allocations: 432.4 kB / 0.9848 GB, free: 8.273 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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: 8.088836945593357]