Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002005/0.002005, allocations: 101.8 kB / 18.83 MB, free: 3.023 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.003613/0.003613, allocations: 192.8 kB / 22.1 MB, free: 4.625 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.488/1.488, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 495.8 MB / 0.783 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 68.23 kB / 1.137 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3919, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003501/0.3954, allocations: 1.459 MB / 1.308 GB, free: 384 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.3963, allocations: 251.2 kB / 1.308 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.105e-05/0.3964, allocations: 0 / 1.308 GB, free: 132 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.8e-05/0.3964, allocations: 3.938 kB / 1.308 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.3965, allocations: 0 / 1.308 GB, free: 128 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.397, allocations: 55.83 kB / 1.308 GB, free: 72 kB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.237e-05/0.3971, allocations: 27.92 kB / 1.308 GB, free: 44 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.3972, allocations: 7.922 kB / 1.308 GB, free: 36 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.3972, allocations: 8 kB / 1.308 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.3973, allocations: 15.92 kB / 1.309 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3973, allocations: 0 / 1.309 GB, free: 12 kB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.3976, allocations: 59.88 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.3976, allocations: 4 kB / 1.309 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.789e-05/0.3976, allocations: 11.94 kB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.3978, allocations: 47.86 kB / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.3978, allocations: 0 / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.437e-06/0.3978, allocations: 0 / 1.309 GB, free: 15.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.3979, allocations: 4 kB / 1.309 GB, free: 15.89 MB / 1.014 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.0007121/0.3986, allocations: 266.3 kB / 1.309 GB, free: 15.59 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.217e-05/0.3986, allocations: 15.97 kB / 1.309 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.3987, allocations: 8.875 kB / 1.309 GB, free: 15.57 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.3988, allocations: 110.5 kB / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.3988, allocations: 384 / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3989, allocations: 384 / 1.309 GB, free: 15.44 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.3991, allocations: 54.17 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3991, allocations: 4.188 kB / 1.309 GB, free: 15.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3991, allocations: 3.938 kB / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.3991, allocations: 0 / 1.309 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3993, allocations: 31.97 kB / 1.309 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.3997, allocations: 216 kB / 1.309 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3999, allocations: 46.44 kB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.3999, allocations: 16.91 kB / 1.309 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005739/0.4005, allocations: 83.91 kB / 1.309 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.4006, allocations: 34.56 kB / 1.309 GB, free: 14.89 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4006, allocations: 0 / 1.309 GB, free: 14.89 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003945/0.401, allocations: 81.64 kB / 1.31 GB, free: 14.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.401, allocations: 51.41 kB / 1.31 GB, free: 14.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.4011, allocations: 101.8 kB / 1.31 GB, free: 14.63 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.4011, allocations: 25.7 kB / 1.31 GB, free: 14.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.4012, allocations: 92.2 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.4012, allocations: 11.94 kB / 1.31 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.4012, allocations: 13.72 kB / 1.31 GB, free: 14.47 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4014, allocations: 310.8 kB / 1.31 GB, free: 14.16 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.4014, allocations: 23.92 kB / 1.31 GB, free: 14.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.4015, allocations: 15.97 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.4017, allocations: 40.89 kB / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4017, allocations: 0 / 1.31 GB, free: 14.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002058/0.4019, allocations: 69.59 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4019, allocations: 4 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4019, allocations: 0 / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.4019, allocations: 3.938 kB / 1.31 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.402, allocations: 20.02 kB / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.402, allocations: 0 / 1.31 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.564e-05/0.4021, allocations: 4 kB / 1.31 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.4021, allocations: 0 / 1.31 GB, free: 13.97 MB / 1.014 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.679e-05/0.4022, allocations: 117.7 kB / 1.31 GB, free: 13.85 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.4022, allocations: 12.17 kB / 1.31 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.4024, allocations: 76.95 kB / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4024, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4024, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4024, allocations: 0 / 1.311 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.4026, allocations: 132.7 kB / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4026, allocations: 0 / 1.311 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.4027, allocations: 11.92 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.4027, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.4027, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4027, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4027, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4029, allocations: 167.4 kB / 1.311 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.4029, allocations: 7.938 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.403, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.403, allocations: 7.984 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.4031, allocations: 0 / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.4031, allocations: 4.031 kB / 1.311 GB, free: 13.37 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.118e-05/0.4031, allocations: 87.27 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4031, allocations: 0 / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002465/0.4034, allocations: 16 kB / 1.311 GB, free: 13.27 MB / 1.014 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.0002094/0.4036, allocations: 115.2 kB / 1.311 GB, free: 13.14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002384/0.4038, allocations: 39.91 kB / 1.311 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4038, allocations: 4 kB / 1.311 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 8.441e-05/0.4039, allocations: 15.98 kB / 1.311 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4041, allocations: 12.7 kB / 1.311 GB, free: 13.07 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.4045, allocations: 101.5 kB / 1.311 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.4048, allocations: 0.6846 MB / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.093e-05/0.4048, allocations: 0 / 1.312 GB, free: 12.24 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.4048, allocations: 7.438 kB / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of SimCode: time 4.01e-07/0.4048, allocations: 0 / 1.312 GB, free: 12.23 MB / 1.014 GB Notification: Performance of Templates: time 0.003603/0.4084, allocations: 0.6718 MB / 1.313 GB, free: 11.56 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_BesselJ0.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.148351373150945]