Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 117.6 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 59.91 kB / 1.057 GB, free: 1.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3197, allocations: 160.7 MB / 1.214 GB, free: 0.9102 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002851/0.3226, allocations: 1.442 MB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0005794/0.3232, allocations: 248 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.3232, allocations: 0 / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.3232, allocations: 3.938 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.938e-05/0.3233, allocations: 3.938 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.3236, allocations: 55.88 kB / 1.216 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.279e-05/0.3237, allocations: 23.92 kB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.936e-05/0.3238, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.3238, allocations: 15.92 kB / 1.216 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.015e-05/0.3239, allocations: 8 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3239, allocations: 4 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.324, allocations: 67.86 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.3241, allocations: 7.938 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.3241, allocations: 7.984 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.3242, allocations: 51.8 kB / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3242, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3242, allocations: 0 / 1.216 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.3242, allocations: 3.938 kB / 1.216 GB, free: 14.95 MB / 0.9669 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.0005079/0.3248, allocations: 347.3 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3248, allocations: 12.03 kB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3248, allocations: 8.891 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.325, allocations: 168.4 kB / 1.216 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.325, allocations: 8.375 kB / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.325, allocations: 384 / 1.216 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.3252, allocations: 46.25 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3252, allocations: 192 / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3252, allocations: 7.922 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.3252, allocations: 0 / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.3254, allocations: 35.97 kB / 1.217 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3257, allocations: 252.8 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3259, allocations: 42.48 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.133e-05/0.326, allocations: 16.91 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007201/0.3267, allocations: 461.5 kB / 1.217 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3267, allocations: 30.56 kB / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3267, allocations: 0 / 1.217 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003792/0.3271, allocations: 93.61 kB / 1.217 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3271, allocations: 51.41 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.3272, allocations: 93.86 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3273, allocations: 29.7 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.3273, allocations: 88.12 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.3273, allocations: 3.953 kB / 1.218 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.3274, allocations: 9.719 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3275, allocations: 318.9 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.371e-05/0.3276, allocations: 15.98 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.3277, allocations: 19.97 kB / 1.218 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3278, allocations: 36.83 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3278, allocations: 0 / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000208/0.328, allocations: 81.55 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.328, allocations: 4 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.328, allocations: 0 / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3281, allocations: 0 / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.3281, allocations: 11.98 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3282, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.3282, allocations: 4 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3282, allocations: 0 / 1.218 GB, free: 12.38 MB / 0.9669 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.849e-05/0.3283, allocations: 121.8 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.3283, allocations: 7.984 kB / 1.218 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.3286, allocations: 68.72 kB / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3286, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3286, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3286, allocations: 0 / 1.218 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3287, allocations: 161.6 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3287, allocations: 0 / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.3288, allocations: 12.02 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3288, allocations: 0 / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.3288, allocations: 7.938 kB / 1.218 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.3288, allocations: 8 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3288, allocations: 0 / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3291, allocations: 163.5 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.3291, allocations: 81.06 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3291, allocations: 3.938 kB / 1.219 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.3292, allocations: 7.984 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3293, allocations: 4 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3293, allocations: 0 / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.3293, allocations: 83.27 kB / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3293, allocations: 0 / 1.219 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002469/0.3295, allocations: 19.94 kB / 1.219 GB, free: 11.55 MB / 0.9669 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.0002264/0.3298, allocations: 123.1 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.33, allocations: 35.97 kB / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.33, allocations: 0 / 1.219 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.3301, allocations: 20.05 kB / 1.219 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3304, allocations: 13.48 kB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.3307, allocations: 138.7 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.331, allocations: 0.6729 MB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.689e-05/0.331, allocations: 7.438 kB / 1.22 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.331, allocations: 4 kB / 1.22 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of Templates: time 0.002739/0.3338, allocations: 0.7645 MB / 1.221 GB, free: 9.711 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.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: 10.82081903098151]