Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.000978/0.000978, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009535/0.0009535, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.9512/0.9512, allocations: 177.2 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.4/2.4, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|J0.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.311e-05, allocations: 13.06 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001826/0.001849, allocations: 1.483 MB / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0004182/0.002267, allocations: 239.2 kB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.002295, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.002319, allocations: 0 / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.002359, allocations: 3.938 kB / 0.8914 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.002656, allocations: 43.89 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.002708, allocations: 31.86 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.66e-05/0.002784, allocations: 3.984 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.271e-05/0.002837, allocations: 15.92 kB / 0.8915 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.002868, allocations: 12 kB / 0.8915 GB, free: 7.91 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.002878, allocations: 4 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.002995, allocations: 51.94 kB / 0.8916 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.003008, allocations: 7.984 kB / 0.8916 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.003021, allocations: 7.938 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.003269, allocations: 59.78 kB / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.003271, allocations: 0 / 0.8917 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.252e-06/0.003272, allocations: 4 kB / 0.8917 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003276, allocations: 0 / 0.8917 GB, free: 7.777 MB / 0.8542 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.0003033/0.003579, allocations: 364.5 kB / 0.892 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.003619, allocations: 20.61 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.288e-05/0.003642, allocations: 0.9375 kB / 0.892 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.181e-05/0.003714, allocations: 120.6 kB / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.003724, allocations: 384 / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.00373, allocations: 384 / 0.8922 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.003823, allocations: 58.95 kB / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.003829, allocations: 192 / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-06/0.003835, allocations: 384 / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.00384, allocations: 384 / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.043e-05/0.00386, allocations: 15.86 kB / 0.8922 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001969/0.004057, allocations: 228.5 kB / 0.8924 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.392e-05/0.004091, allocations: 31.06 kB / 0.8925 GB, free: 6.844 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.004104, allocations: 7.688 kB / 0.8925 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/0.004352, allocations: 75.98 kB / 0.8926 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.004372, allocations: 37.33 kB / 0.8926 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.004373, allocations: 0 / 0.8926 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001156/0.004489, allocations: 49.56 kB / 0.8926 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.004511, allocations: 55.41 kB / 0.8927 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.00457, allocations: 153.9 kB / 0.8928 GB, free: 6.422 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.004579, allocations: 29.7 kB / 0.8929 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.004614, allocations: 134.8 kB / 0.893 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.004628, allocations: 3.953 kB / 0.893 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.004652, allocations: 19.38 kB / 0.893 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.004747, allocations: 492.1 kB / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-06/0.004755, allocations: 0 / 0.8935 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-06/0.004763, allocations: 4 kB / 0.8935 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.42e-05/0.004788, allocations: 27.8 kB / 0.8935 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.004789, allocations: 0 / 0.8935 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.867e-05/0.004838, allocations: 37.66 kB / 0.8935 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.004848, allocations: 4 kB / 0.8936 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004852, allocations: 0 / 0.8936 GB, free: 5.645 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.004864, allocations: 3.938 kB / 0.8936 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.677e-05/0.00491, allocations: 11.98 kB / 0.8936 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.004913, allocations: 0 / 0.8936 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.004927, allocations: 0 / 0.8936 GB, free: 5.629 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.004931, allocations: 4 kB / 0.8936 GB, free: 5.625 MB / 0.8542 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 5.424e-05/0.004985, allocations: 164.5 kB / 0.8937 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.191e-05/0.004997, allocations: 0 / 0.8937 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.701e-05/0.005064, allocations: 48.94 kB / 0.8938 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.005066, allocations: 3.938 kB / 0.8938 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.005068, allocations: 0 / 0.8938 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.00507, allocations: 0 / 0.8938 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.355e-05/0.005154, allocations: 101.2 kB / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.005155, allocations: 0 / 0.8939 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.005174, allocations: 8 kB / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005175, allocations: 4.031 kB / 0.8939 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-06/0.00518, allocations: 4 kB / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.00518, allocations: 0 / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005181, allocations: 0 / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.051e-05/0.005252, allocations: 188 kB / 0.8941 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-06/0.005259, allocations: 15.88 kB / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-06/0.005266, allocations: 0 / 0.8941 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.869e-05/0.005294, allocations: 4 kB / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.005319, allocations: 7.984 kB / 0.8941 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.005322, allocations: 3.938 kB / 0.8941 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.919e-05/0.005351, allocations: 123.2 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005351, allocations: 4 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001505/0.005501, allocations: 12 kB / 0.8942 GB, free: 4.883 MB / 0.8542 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.0001334/0.005635, allocations: 119.2 kB / 0.8943 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.366e-05/0.005688, allocations: 15.69 kB / 0.8944 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.00569, allocations: 64 / 0.8944 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.005705, allocations: 23.61 kB / 0.8944 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.005865, allocations: 0 / 0.8944 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001894/0.006055, allocations: 114.3 kB / 0.8945 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.006083, allocations: 55.3 kB / 0.8945 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.434e-05/0.006098, allocations: 4 kB / 0.8945 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.006134, allocations: 66.2 kB / 0.8946 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.006134, allocations: 0 / 0.8946 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of Templates: time 0.0022/0.008334, allocations: 0.7743 MB / 0.8954 GB, free: 3.656 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.BesselJ0_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_BesselJ0.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.343235400971025]