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.001401/0.001401, allocations: 80.33 kB / 19.18 MB, free: 2.527 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.001465/0.001465, allocations: 163.2 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.443/1.443, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.855/2.855, allocations: 377.8 MB / 0.6221 GB, free: 12.57 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.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 2.064e-06/2.064e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.803e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001605/0.001633, allocations: 0.5918 MB / 0.9821 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005123/0.002145, allocations: 183.3 kB / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.002156, allocations: 0 / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.002172, allocations: 0 / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.762e-06/0.002179, allocations: 4 kB / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.002569, allocations: 55.77 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 3.693e-05/0.002606, allocations: 0 / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.00265, allocations: 0 / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.002676, allocations: 0 / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.157e-05/0.002698, allocations: 4 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.137e-06/0.002707, allocations: 3.938 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.002883, allocations: 59.86 kB / 0.9824 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.002896, allocations: 4 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.00291, allocations: 4 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.003048, allocations: 47.8 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.00305, allocations: 4 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.81e-07/0.00305, allocations: 0 / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.003053, allocations: 0 / 0.9824 GB, free: 10.95 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.000317/0.00337, allocations: 242.4 kB / 0.9826 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.003404, allocations: 8.031 kB / 0.9826 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.945e-05/0.003434, allocations: 4.891 kB / 0.9827 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.672e-05/0.00353, allocations: 109.8 kB / 0.9828 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.00354, allocations: 384 / 0.9828 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-06/0.003547, allocations: 384 / 0.9828 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.407e-05/0.003631, allocations: 30.27 kB / 0.9828 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.003641, allocations: 8.172 kB / 0.9828 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.003648, allocations: 384 / 0.9828 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003652, allocations: 384 / 0.9828 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.003672, allocations: 3.938 kB / 0.9828 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.003797, allocations: 101.3 kB / 0.9829 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.194e-05/0.003839, allocations: 18.58 kB / 0.9829 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.876e-05/0.003858, allocations: 8.844 kB / 0.9829 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005733/0.004431, allocations: 84.02 kB / 0.983 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.004466, allocations: 34.56 kB / 0.983 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.004467, allocations: 0 / 0.983 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.004595, allocations: 37.62 kB / 0.9831 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.00464, allocations: 51.41 kB / 0.9831 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.004704, allocations: 89.86 kB / 0.9832 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.004722, allocations: 33.64 kB / 0.9832 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.004757, allocations: 80.14 kB / 0.9833 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.004786, allocations: 4.062 kB / 0.9833 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.004816, allocations: 17.72 kB / 0.9833 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.004982, allocations: 318.8 kB / 0.9836 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-06/0.004991, allocations: 0 / 0.9836 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.004998, allocations: 4 kB / 0.9836 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.826e-05/0.005026, allocations: 8.859 kB / 0.9837 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005028, allocations: 0 / 0.9837 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.758e-05/0.005086, allocations: 37.62 kB / 0.9837 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.005104, allocations: 8 kB / 0.9837 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.005108, allocations: 0 / 0.9837 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.005121, allocations: 4.094 kB / 0.9837 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.79e-05/0.005158, allocations: 0 / 0.9837 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.005164, allocations: 3.938 kB / 0.9837 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.005178, allocations: 7.938 kB / 0.9837 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.005185, allocations: 4 kB / 0.9837 GB, free: 9.438 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 8.542e-05/0.00527, allocations: 105.8 kB / 0.9838 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-06/0.005276, allocations: 0 / 0.9838 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.077e-05/0.005357, allocations: 36.69 kB / 0.9839 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.005358, allocations: 0 / 0.9839 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005362, allocations: 0 / 0.9839 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.005366, allocations: 8.031 kB / 0.9839 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.412e-05/0.00545, allocations: 101.3 kB / 0.984 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005451, allocations: 3.938 kB / 0.984 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-05/0.005464, allocations: 3.984 kB / 0.984 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.005468, allocations: 4 kB / 0.984 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.005474, allocations: 0 / 0.984 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.005475, allocations: 0 / 0.984 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.005476, allocations: 0 / 0.984 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.939e-05/0.005566, allocations: 57.08 kB / 0.984 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-06/0.005569, allocations: 0 / 0.984 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.005581, allocations: 8.016 kB / 0.984 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.005588, allocations: 0 / 0.984 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-06/0.005597, allocations: 0 / 0.984 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-06/0.005599, allocations: 0 / 0.984 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.005636, allocations: 83.22 kB / 0.9841 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.005636, allocations: 0 / 0.9841 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002034/0.005839, allocations: 8 kB / 0.9841 GB, free: 8.965 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.000218/0.006057, allocations: 131.1 kB / 0.9842 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.532e-05/0.006122, allocations: 7.938 kB / 0.9842 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006124, allocations: 0 / 0.9842 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-06/0.006129, allocations: 0 / 0.9842 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001296/0.006259, allocations: 4 kB / 0.9843 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.006443, allocations: 69.02 kB / 0.9843 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.117e-05/0.006504, allocations: 63.2 kB / 0.9844 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.318e-05/0.006517, allocations: 4 kB / 0.9844 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.006535, allocations: 12.62 kB / 0.9844 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.006535, allocations: 4 kB / 0.9844 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of Templates: time 0.002806/0.009341, allocations: 428.5 kB / 0.9848 GB, free: 8.203 MB / 0.9356 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 400] 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.791459683328867]