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.001423/0.001423, allocations: 80.41 kB / 20.23 MB, free: 4.195 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.001564/0.001564, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.537/1.537, allocations: 177.2 MB / 203.9 MB, free: 5.562 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 2.884/2.884, 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.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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.422e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002825/0.00285, allocations: 1.455 MB / 0.8122 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005689/0.003418, allocations: 240.5 kB / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.003443, allocations: 0 / 0.8125 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.003473, allocations: 5.531 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.848e-05/0.003511, allocations: 0 / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.003891, allocations: 63.75 kB / 0.8125 GB, free: 332 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.565e-05/0.003957, allocations: 23.92 kB / 0.8126 GB, free: 308 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 6.784e-05/0.004025, allocations: 5.031 kB / 0.8126 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.004079, allocations: 15.92 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.004117, allocations: 12.77 kB / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.004127, allocations: 0 / 0.8126 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.004272, allocations: 57.56 kB / 0.8126 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.004289, allocations: 7.984 kB / 0.8127 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.004319, allocations: 11.94 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.004476, allocations: 55.84 kB / 0.8127 GB, free: 144 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.004483, allocations: 4 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004483, allocations: 1.531 kB / 0.8127 GB, free: 140 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.004487, allocations: 0 / 0.8127 GB, free: 140 kB / 0.7605 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.0004871/0.004974, allocations: 266.3 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.005008, allocations: 9.406 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.005056, allocations: 16.89 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.005173, allocations: 105.8 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.005185, allocations: 384 / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.005194, allocations: 6.125 kB / 0.8131 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.00538, allocations: 54.17 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005387, allocations: 192 / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.005395, allocations: 384 / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.005399, allocations: 0.9375 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.005592, allocations: 40.86 kB / 0.8132 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.005906, allocations: 193.2 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.006044, allocations: 35.97 kB / 0.8134 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.006136, allocations: 24.78 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/0.00671, allocations: 78.5 kB / 0.8135 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.006744, allocations: 34.56 kB / 0.8135 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.006745, allocations: 0.5312 kB / 0.8135 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003974/0.007143, allocations: 92.44 kB / 0.8136 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.007188, allocations: 51.41 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.564e-05/0.007284, allocations: 101.8 kB / 0.8138 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.007304, allocations: 25.7 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.007369, allocations: 84.64 kB / 0.8139 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.007386, allocations: 7.891 kB / 0.8139 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.007425, allocations: 18.31 kB / 0.8139 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.007593, allocations: 315.6 kB / 0.8142 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.736e-05/0.007681, allocations: 11.98 kB / 0.8142 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/0.007761, allocations: 21.14 kB / 0.8142 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.007919, allocations: 34.45 kB / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.00792, allocations: 0 / 0.8143 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002114/0.008131, allocations: 67.41 kB / 0.8143 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.008145, allocations: 4 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.008156, allocations: 7.938 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.008172, allocations: 2.219 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.495e-05/0.008257, allocations: 11.92 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.008261, allocations: 0 / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.008326, allocations: 11.98 kB / 0.8144 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.008331, allocations: 0 / 0.8144 GB, free: 14.28 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 (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 8.925e-05/0.00842, allocations: 112.6 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.008445, allocations: 0 / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002446/0.008689, allocations: 76.91 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.008691, allocations: 0 / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.008695, allocations: 0 / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.008697, allocations: 1.469 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.008846, allocations: 101.3 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.008847, allocations: 0 / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.008916, allocations: 16.48 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008918, allocations: 0 / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.008928, allocations: 5.344 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.008932, allocations: 3.938 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.008933, allocations: 7.875 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.009218, allocations: 164.5 kB / 0.8148 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.087e-06/0.009227, allocations: 4.594 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.009238, allocations: 0.5312 kB / 0.8149 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.009323, allocations: 15.61 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.009361, allocations: 4 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.009369, allocations: 4 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.985e-05/0.009418, allocations: 75.28 kB / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.009418, allocations: 0 / 0.8149 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002512/0.00967, allocations: 19.98 kB / 0.815 GB, free: 13.63 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 (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.000207/0.009877, allocations: 116.8 kB / 0.8151 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002175/0.01009, allocations: 40.92 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.0101, allocations: 4 kB / 0.8151 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.598e-05/0.01019, allocations: 17.08 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.01043, allocations: 7.938 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.01072, allocations: 113.7 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.391e-05/0.01078, allocations: 59.34 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.948e-05/0.0108, allocations: 1.094 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.01083, allocations: 16.5 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.01083, allocations: 0.7188 kB / 0.8153 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Templates: time 0.003354/0.01419, allocations: 0.7026 MB / 0.816 GB, free: 12.53 MB / 0.7761 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 7.729137000045739]